Update file.ts

This commit is contained in:
freearhey
2023-09-16 17:52:27 +03:00
parent 9692995c75
commit 99dad2f66d

View File

@@ -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 || ''
}