Skip to content

Commit 1129e11

Browse files
committed
feat: make output consistent
Signed-off-by: Michael Dawson <[email protected]>
1 parent 1d7a05b commit 1129e11

File tree

6 files changed

+8
-8
lines changed

6 files changed

+8
-8
lines changed

lib/cli/commands/validate.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,18 +53,18 @@ module.exports = function (opts) {
5353
try {
5454
const result = support.validate(supportDataJSON, true)
5555
if (result) {
56-
argv.log.info('Your support information is valid!')
56+
console.log('Your support information is valid!')
5757
return
5858
}
5959
} catch (e) {
6060
console.log('Error in support JSON')
6161
console.log(e.prettyValidationErrors)
6262
}
6363
} else {
64-
argv.log.info('support info not resolved: ' + supportData.url)
64+
console.log('support info not resolved: ' + supportData.url)
6565
}
6666
} else {
67-
argv.log.info('no support info')
67+
console.log('no support info')
6868
}
6969
}
7070
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
info › no support info
1+
no support info
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
info › support info not resolved: https://github.com/pkgjs/support-separate-repo-other/blob/master/subdir2/MySupportPackage.json
1+
support info not resolved: https://github.com/pkgjs/support-separate-repo-other/blob/master/subdir2/MySupportPackage.json

test/cli/validate-local/expected

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
info › Your support information is valid!
1+
Your support information is valid!
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
info › support info not resolved: https://github.com/pkgjs/support/blob/master/package-support.json
1+
support info not resolved: https://github.com/pkgjs/support/blob/master/package-support.json
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
info › Your support information is valid!
1+
Your support information is valid!

0 commit comments

Comments
 (0)