We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3f506d8 commit 3b4510fCopy full SHA for 3b4510f
lib/wrappers/file-system.ts
@@ -9,7 +9,7 @@ const mkdir = util.promisify(fs.mkdir);
9
10
export class FileSystem {
11
public exists(filePath: string): boolean {
12
- return fs.existsSync(filePath);
+ return fs.existsSync(path.resolve(filePath));
13
}
14
15
public extractZip(pathToZip: string, outputDir: string): Promise<void> {
0 commit comments