Fixed redundant double negation in Gulpfile.js.

This commit is contained in:
Daniel Stolt
2017-01-13 19:11:38 +01:00
parent 7e5bdb28e3
commit cccebea685
+1 -1
View File
@@ -100,7 +100,7 @@ function resolveAssetGroupPaths(assetGroup, assetManifestPath) {
return path.resolve(path.join(assetGroup.basePath, inputPath)); return path.resolve(path.join(assetGroup.basePath, inputPath));
}); });
assetGroup.watchPaths = []; assetGroup.watchPaths = [];
if (!!assetGroup.watch) { if (assetGroup.watch) {
assetGroup.watchPaths = assetGroup.watch.map(function (watchPath) { assetGroup.watchPaths = assetGroup.watch.map(function (watchPath) {
return path.resolve(path.join(assetGroup.basePath, watchPath)); return path.resolve(path.join(assetGroup.basePath, watchPath));
}); });