Skip to content

Commit fba6a23

Browse files
Fix gulp clean action (#9611)
* Fix gulp clean action * Revert unwanted change --------- Co-authored-by: Pedro Yamada <[email protected]>
1 parent 2aa753c commit fba6a23

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

gulpfile.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ const {Transform} = require('stream');
22
const babel = require('gulp-babel');
33
const gulp = require('gulp');
44
const path = require('path');
5-
const rimraf = require('rimraf');
5+
const {rimraf} = require('rimraf');
66
const babelConfig = require('./babel.config.json');
77

88
const IGNORED_PACKAGES = [
@@ -59,7 +59,7 @@ class TapStream extends Transform {
5959

6060
exports.clean = function clean(cb) {
6161
rimraf('packages/*/*/lib/**').then(
62-
() => cb,
62+
() => cb(),
6363
err => cb(err),
6464
);
6565
};

0 commit comments

Comments
 (0)