Skip to content

Commit

Permalink
Remove template config.cson file
Browse files Browse the repository at this point in the history
This old template file had several problems:

  * The entries in this file are already the schema defaults so they
    would get unset anyway when initially loaded
  * The file was in the old format that didn't have scope selectors
  * A race condition could occur when the file was copied, inited, and written
    to all during the very first run of Atom.

Closes atom#6226
  • Loading branch information
kevinsawicki committed Apr 7, 2015
1 parent 9a64730 commit 06b8195
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
7 changes: 0 additions & 7 deletions dot-atom/config.cson

This file was deleted.

1 change: 0 additions & 1 deletion spec/config-spec.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -987,7 +987,6 @@ describe "Config", ->
expect(fs.existsSync(atom.config.configDirPath)).toBeTruthy()
expect(fs.existsSync(path.join(atom.config.configDirPath, 'packages'))).toBeTruthy()
expect(fs.isFileSync(path.join(atom.config.configDirPath, 'snippets.cson'))).toBeTruthy()
expect(fs.isFileSync(path.join(atom.config.configDirPath, 'config.cson'))).toBeTruthy()
expect(fs.isFileSync(path.join(atom.config.configDirPath, 'init.coffee'))).toBeTruthy()
expect(fs.isFileSync(path.join(atom.config.configDirPath, 'styles.less'))).toBeTruthy()

Expand Down

0 comments on commit 06b8195

Please sign in to comment.