Skip to content

Commit

Permalink
fix(cli): writeFileSync API changed for Node 14
Browse files Browse the repository at this point in the history
Closes #2361
  • Loading branch information
Jolg42 committed May 4, 2020
1 parent 8b6b302 commit cee28bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/packages/cli/scripts/download.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ async function main() {

function createLockFile() {
createdLockFile = true
fs.writeFileSync(lockFile, Date.now())
fs.writeFileSync(lockFile, Date.now().toString())
}

function cleanupLockFile() {
Expand Down

0 comments on commit cee28bb

Please sign in to comment.