Update file.ts

This commit is contained in:
freearhey 2023-09-16 17:52:27 +03:00
parent f7fcb87d28
commit fe7e768829

View file

@ -5,7 +5,7 @@ export class File {
content: string content: string
constructor(filepath: string, content?: string) { constructor(filepath: string, content?: string) {
this.filepath = filepath this.filepath = path.normalize(filepath)
this.content = content || '' this.content = content || ''
} }