Skip to content

Commit 56a8767

Browse files
committed
removed rimraf and added fsextra
1 parent 18ff58a commit 56a8767

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

engine/runner.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import { RunResult } from "./run_result";
22
import { Playbook } from "./playbook";
3-
import * as fs from 'fs';
4-
import * as rimraf from 'rimraf';
3+
import * as fs from 'fs-extra';
54
import { RunCommand } from "./run_command";
65

76
export abstract class Runner {
@@ -104,7 +103,7 @@ export abstract class Runner {
104103
if(fs.existsSync(path)) {
105104
if(deleteFolderIfExist) {
106105
try {
107-
rimraf.sync(path);
106+
fs.removeSync(path);
108107
} catch(e) {
109108
console.log("Error deleting foler " + path, e);
110109
}

0 commit comments

Comments
 (0)