Skip to content

Commit 3ac3ba2

Browse files
vorburgerguw
andauthored
build: Create bazel-eclipse/ directory if it does not yet exist (fixes #23) (#27)
Co-authored-by: Gunnar Wagenknecht <[email protected]>
1 parent 21f0288 commit 3ac3ba2

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

gulpfile.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ gulp.task('build-plugin', (done) => {
1414
}
1515
});
1616

17+
if (!fs.existsSync(bazelEclipseDir)) {
18+
fs.mkdirSync(bazelEclipseDir);
19+
}
20+
1721
// del.sync(bazelEclipseDir + '/**', { force: true });
1822
fs.rmdirSync(bazelEclipseDir, {recursive: true});
1923

0 commit comments

Comments
 (0)