Update file.ts

pull/24814/head
freearhey 2 years ago
parent d79bec5de8
commit 66e007b8f5

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

Loading…
Cancel
Save