mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2026-02-09 09:16:41 +08:00
Fixed redundant double negation in Gulpfile.js.
This commit is contained in:
+1
-1
@@ -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));
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user