Upgrade to fs-plus 2.x

This commit is contained in:
Kevin Sawicki
2014-02-17 15:25:51 -08:00
parent 57ed5d7d57
commit 69fe67d6e1
3 changed files with 4 additions and 4 deletions

View File

@@ -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