guard against edge cases

This commit is contained in:
Philip Weiss
2018-02-24 17:58:46 -08:00
parent 1483c0c96d
commit 347d547d5f
2 changed files with 2 additions and 2 deletions

View File

@@ -140,7 +140,7 @@ module.exports = function parseCommandLine (processArgs) {
let projectSettings = {}
if (atomProject) {
const contents = readProjectSettingsSync(atomProject, executedFrom)
const contents = Object.assign({}, readProjectSettingsSync(atomProject, executedFrom))
const paths = contents.paths
const config = contents.config
const originPath = atomProject