Skip to content

Commit

Permalink
fix build task for travis
Browse files Browse the repository at this point in the history
  • Loading branch information
liabru committed Sep 21, 2016
1 parent 1d05499 commit 6aa3661
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 } }));
}

Expand Down

0 comments on commit 6aa3661

Please sign in to comment.