Skip to content
This repository has been archived by the owner on Sep 23, 2023. It is now read-only.

Commit

Permalink
fix no ava in package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
xcv58 committed Dec 13, 2016
1 parent 6d9b760 commit e8bd9f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/standard-formatter.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ module.exports = {

transformText: function (text, cb) {
if (this.style === 'standard') {
var parser = this.getPackageConfig().parser
var parser = (this.getPackageConfig() || {}).parser
allowUnsafeNewFunction(function () {
var options = { fix: true }
if (parser) {
Expand Down

0 comments on commit e8bd9f7

Please sign in to comment.