From 6aa366114604c2457bfa83620b713da6e6af1638 Mon Sep 17 00:00:00 2001 From: liabru Date: Wed, 21 Sep 2016 21:02:29 +0100 Subject: [PATCH] fix build task for travis --- Gulpfile.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gulpfile.js b/Gulpfile.js index 9ada3b45..3ae14217 100644 --- a/Gulpfile.js +++ b/Gulpfile.js @@ -259,7 +259,7 @@ var build = function(options) { }); })); - if (!options.version.includes('-dev')) { + if (options.version.indexOf('-dev') === -1) { compiled.pipe(preprocess({ context: { DEBUG: false } })); }