Skip to content

Commit

Permalink
Use Bluebird instead of Promise
Browse files Browse the repository at this point in the history
re: #152
  • Loading branch information
jeduan committed Jan 29, 2016
1 parent ab02fe4 commit e97a76f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/util.js
Expand Up @@ -34,7 +34,7 @@ export function readContents (path, type) {
}

export function renderFile (file, options) {
if (!file) return Promise.resolve(null)
if (!file) return P.resolve(null)
return render(file, options)
}

0 comments on commit e97a76f

Please sign in to comment.