Skip to content

Commit

Permalink
add missing code comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebastian McKenzie committed Oct 25, 2016
1 parent cbdeeaa commit 798d190
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -465,7 +465,8 @@ export default class Config {
}

/**
*
* Call the passed factory (defaults to fs.readJson) and rethrow a pretty error message if it was the result
* of a syntax error.
*/

async readJson(loc: string, factory: (filename: string) => Promise<Object> = fs.readJson): Promise<Object> {
Expand Down

0 comments on commit 798d190

Please sign in to comment.