Skip to content

Commit 5de46f9

Browse files
committed
make linter happy
1 parent 5ed9255 commit 5de46f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/check-version.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ module.exports = function (done) {
77
url: 'http://registry.npmjs.org/vue-cli',
88
timeout: 1000
99
}, function (err, res, body) {
10-
if (!err && res.statusCode == 200) {
10+
if (!err && res.statusCode === 200) {
1111
var latestVersion = JSON.parse(body)['dist-tags'].latest
1212
var localVersion = require('../package.json').version
1313
if (semver.lt(localVersion, latestVersion)) {

0 commit comments

Comments
 (0)