diff --git a/scripts/CHANGELOG.md b/scripts/CHANGELOG.md index 78b729c71..6a32750f6 100644 --- a/scripts/CHANGELOG.md +++ b/scripts/CHANGELOG.md @@ -6,6 +6,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## Unreleased +### Fixed +- `cannot rename` error during start-env has been fixed. + ## [0.8.1] - 2020-01-15 ### Fixed diff --git a/scripts/npm/download.js b/scripts/npm/download.js index afaef2d2d..b31505048 100644 --- a/scripts/npm/download.js +++ b/scripts/npm/download.js @@ -53,6 +53,6 @@ module.exports = async function download(version, binTarget) { dest: targetDir }); fs.unlinkSync(archivePath); - fs.renameSync(targetDir + "/create-comit-app", binTarget); + fs.renameSync(targetDir + "/comit-scripts", binTarget); fs.chmodSync(binTarget, 755); };