Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
"marked": "^0.7.0",
"mocha": "^8.4.0",
"nyc": "^15.1.0",
"rimraf": "^3.0.2",
"rimraf": "^5.0.7",
"semver": "^7.3.8"
},
"nyc": {
Expand Down
6 changes: 3 additions & 3 deletions test/flags-tasks-json.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ var expect = require('expect');
var exec = require('child_process').exec;
var fs = require('fs');
var path = require('path');
var rimraf = require('rimraf');
var rimrafSync = require('rimraf').rimrafSync;

var gulp = require('./tool/gulp-cmd');

Expand Down Expand Up @@ -51,7 +51,7 @@ describe('flag: --tasks-json', function() {

it('writes the task list to file with path', function(done) {
var output = path.join(__dirname, '/output/');
rimraf.sync(output);
rimrafSync(output);
fs.mkdirSync(output);

var opts = { cwd: baseDir };
Expand All @@ -68,7 +68,7 @@ describe('flag: --tasks-json', function() {
var file = fs.readFileSync(path.join(output, '/tasks.json'), 'utf8');
var parsedJson = JSON.parse(file);
expect(parsedJson).toEqual(expected);
rimraf.sync(output);
rimrafSync(output);
done(err);
}
});
Expand Down
Loading