File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ import { RunResult } from "../engine/run_result";
2
2
import * as fs from "fs" ;
3
3
4
4
export class DirectoryExist {
5
- public static run ( result : RunResult , directory : string ) : void {
5
+ public static run ( directory : string ) : void {
6
6
if ( ! fs . existsSync ( directory ) ) {
7
7
throw new Error ( "directory " + directory + " does not exist" ) ;
8
8
}
Original file line number Diff line number Diff line change @@ -18,8 +18,8 @@ export class Assertions {
18
18
return this ;
19
19
}
20
20
21
- public directoryExits ( result : RunResult , directory : string ) : Assertions {
22
- DirectoryExist . run ( result , directory ) ;
21
+ public directoryExits ( directory : string ) : Assertions {
22
+ DirectoryExist . run ( directory ) ;
23
23
return this ;
24
24
}
25
25
}
You can’t perform that action at this time.
0 commit comments