From 66e007b8f5c0860ab4facceb2282ce6e65434e68 Mon Sep 17 00:00:00 2001 From: freearhey <7253922+freearhey@users.noreply.github.com> Date: Sat, 16 Sep 2023 17:52:27 +0300 Subject: [PATCH] Update file.ts --- scripts/core/file.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/core/file.ts b/scripts/core/file.ts index f12e8ba6d3..54c88fe64b 100644 --- a/scripts/core/file.ts +++ b/scripts/core/file.ts @@ -5,7 +5,7 @@ export class File { content: string constructor(filepath: string, content?: string) { - this.filepath = filepath + this.filepath = path.normalize(filepath) this.content = content || '' }