Skip to content

Commit

Permalink
make linter happy
Browse files Browse the repository at this point in the history
  • Loading branch information
yyx990803 committed Apr 8, 2016
1 parent 5ed9255 commit 5de46f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/check-version.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ module.exports = function (done) {
url: 'http://registry.npmjs.org/vue-cli',
timeout: 1000
}, function (err, res, body) {
if (!err && res.statusCode == 200) {
if (!err && res.statusCode === 200) {
var latestVersion = JSON.parse(body)['dist-tags'].latest
var localVersion = require('../package.json').version
if (semver.lt(localVersion, latestVersion)) {
Expand Down

0 comments on commit 5de46f9

Please sign in to comment.