From ac9d7f9906d52df58181107e1f11ddad238ff23e Mon Sep 17 00:00:00 2001 From: Jerrys2011 <1670303003@qq.com> Date: Fri, 23 Sep 2022 14:59:55 +0800 Subject: [PATCH] chore: update mainfest file path (#203) --- src/scanner/scan.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scanner/scan.ts b/src/scanner/scan.ts index 6e2bd8f..016a54b 100644 --- a/src/scanner/scan.ts +++ b/src/scanner/scan.ts @@ -88,7 +88,7 @@ export class Scanner { } if (this.options.needWriteFile) { - await this.writeFile(`manifest.json`, JSON.stringify(result, null, 2)); + await this.writeFile(path.resolve(root, 'manifest.json'), JSON.stringify(result, null, 2)); } return result;