mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
Upgrade to fs-plus 2.x
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
fs = require 'fs-plus'
|
||||
CSON = require 'season'
|
||||
|
||||
module.exports =
|
||||
class ScopedProperties
|
||||
@load: (scopedPropertiesPath, callback) ->
|
||||
fs.readObject scopedPropertiesPath, (error, scopedProperties={}) ->
|
||||
CSON.readFile scopedPropertiesPath, (error, scopedProperties={}) ->
|
||||
if error?
|
||||
callback(error)
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user