Skip to content

Commit

Permalink
Merge pull request #428 from jprichardson/outputJSONSync
Browse files Browse the repository at this point in the history
Fix typo that broke outputJSONSync()
  • Loading branch information
jprichardson authored May 17, 2017
2 parents 44eb2c3 + dd85f38 commit 40a2e71
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/json/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
const u = require('universalify').fromCallback
const jsonFile = require('./jsonfile')

jsonFile.outputJsonSync = require('./output-json-sync')
jsonFile.outputJson = u(require('./output-json'))
jsonFile.outputJsonSync = require('./output-json-sync')
// aliases
jsonFile.outputJSONSync = jsonFile.outputJSONSync
jsonFile.outputJSON = jsonFile.outputJson
jsonFile.outputJSONSync = jsonFile.outputJsonSync
jsonFile.writeJSON = jsonFile.writeJson
jsonFile.writeJSONSync = jsonFile.writeJsonSync
jsonFile.readJSON = jsonFile.readJson
Expand Down

0 comments on commit 40a2e71

Please sign in to comment.