Skip to content

Commit 06eb627

Browse files
committed
Remove unneeded add call
We can just pass directly to mergeStream
1 parent e3d265f commit 06eb627

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

gulpfile.js

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,9 @@ gulp.task(
1414
task: gulp.task(manifestPath, () =>
1515
mergeStream(
1616
gulp.src(manifest.files),
17-
gulp.src(manifest.resources || []).pipe(zip("Resources.zip"))
17+
gulp.src(manifest.resources || []).pipe(zip("Resources.zip")),
18+
gulp.src(["LICENSE.htm", "CHANGES.htm", "*.dnn"], { cwd: path.dirname(manifestPath) })
1819
)
19-
.add(
20-
gulp.src(["LICENSE.htm", "CHANGES.htm", "*.dnn"], {
21-
cwd: path.dirname(manifestPath)
22-
})
23-
)
2420
.pipe(zip(path.basename(path.dirname(manifestPath)) + ".zip"))
2521
.pipe(gulp.dest("./_InstallPackages/"))
2622
)

0 commit comments

Comments
 (0)