Skip to content

Commit

Permalink
Fix gulp clean action (#9611)
Browse files Browse the repository at this point in the history
* Fix gulp clean action

* Revert unwanted change

---------

Co-authored-by: Pedro Yamada <[email protected]>
  • Loading branch information
yamadapc and pyamada-atlassian authored Apr 9, 2024
1 parent 2aa753c commit fba6a23
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ const {Transform} = require('stream');
const babel = require('gulp-babel');
const gulp = require('gulp');
const path = require('path');
const rimraf = require('rimraf');
const {rimraf} = require('rimraf');
const babelConfig = require('./babel.config.json');

const IGNORED_PACKAGES = [
Expand Down Expand Up @@ -59,7 +59,7 @@ class TapStream extends Transform {

exports.clean = function clean(cb) {
rimraf('packages/*/*/lib/**').then(
() => cb,
() => cb(),
err => cb(err),
);
};
Expand Down

0 comments on commit fba6a23

Please sign in to comment.