mirror of
https://github.com/atom/atom.git
synced 2026-02-18 18:34:21 -05:00
guard against edge cases
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user