We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 18ff58a commit 56a8767Copy full SHA for 56a8767
1 file changed
engine/runner.ts
@@ -1,7 +1,6 @@
1
import { RunResult } from "./run_result";
2
import { Playbook } from "./playbook";
3
-import * as fs from 'fs';
4
-import * as rimraf from 'rimraf';
+import * as fs from 'fs-extra';
5
import { RunCommand } from "./run_command";
6
7
export abstract class Runner {
@@ -104,7 +103,7 @@ export abstract class Runner {
104
103
if(fs.existsSync(path)) {
105
if(deleteFolderIfExist) {
106
try {
107
- rimraf.sync(path);
+ fs.removeSync(path);
108
} catch(e) {
109
console.log("Error deleting foler " + path, e);
110
}
0 commit comments