Skip to content

Commit

Permalink
fix(cli-service-global): fix no-debugger rule config (#5196)
Browse files Browse the repository at this point in the history
closes #5194
  • Loading branch information
sodatea committed Feb 27, 2020
1 parent 7225649 commit 69f6805
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/@vue/cli-service-global/lib/globalConfigPlugin.js
Expand Up @@ -115,7 +115,7 @@ module.exports = function createConfigPlugin (context, entry, asLib) {
},
rules: {
'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off',
'no-debugger': `process.env.NODE_ENV === 'production' ? 'error' : 'off'`
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off'
}
}
}))
Expand Down

0 comments on commit 69f6805

Please sign in to comment.