diff --git a/packages/grpc-js/gulpfile.js b/packages/grpc-js/gulpfile.js index 14774729..9f30ae10 100644 --- a/packages/grpc-js/gulpfile.js +++ b/packages/grpc-js/gulpfile.js @@ -28,8 +28,8 @@ const del = require('del'); const jsDir = __dirname; gulp.task('js.clean.links', 'Delete npm links', () => { - del(path.resolve(jsDir, 'node_modules/@grpc/js-core')); - del(path.resolve(jsDir, 'node_modules/@grpc/surface')); + return del([path.resolve(jsDir, 'node_modules/@grpc/js-core'), + path.resolve(jsDir, 'node_modules/@grpc/surface')]); }); gulp.task('js.clean.all', 'Delete all files created by tasks', diff --git a/packages/grpc-native/gulpfile.js b/packages/grpc-native/gulpfile.js index c770a78f..dcbea445 100644 --- a/packages/grpc-native/gulpfile.js +++ b/packages/grpc-native/gulpfile.js @@ -28,8 +28,8 @@ const del = require('del'); const nativeDir = __dirname; gulp.task('native.clean.links', 'Delete npm links', () => { - del(path.resolve(nativeDir, 'node_modules/@grpc/native-core')); - del(path.resolve(nativeDir, 'node_modules/@grpc/surface')); + return del([path.resolve(nativeDir, 'node_modules/@grpc/native-core'), + path.resolve(nativeDir, 'node_modules/@grpc/surface')]); }); gulp.task('native.clean.all', 'Delete all files created by tasks',