Skip to content

Commit

Permalink
fix(directory): save files with empty eol
Browse files Browse the repository at this point in the history
  • Loading branch information
CyanSalt committed Nov 27, 2020
1 parent 2351c16 commit 8445b9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main/utils/directory.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ class Directory {
async write(basename, content) {
await this.mkdir(basename)
const file = this.file(basename)
return fs.promises.writeFile(file, content)
return fs.promises.writeFile(file, content + '\n')
}
/**
* @param {string} basename
Expand Down

0 comments on commit 8445b9d

Please sign in to comment.