Skip to content

Commit 3849864

Browse files
authored
fix(cli): warning message mention homepage (#268)
1 parent b92f2da commit 3849864

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

bin/cmd.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,10 +141,11 @@ Flags (advanced):
141141
})
142142

143143
if (isSomeWarnings) {
144+
const homepage = opts.homepage != null ? ` (${opts.homepage})` : ''
144145
console.error(
145146
'%s: %s',
146147
opts.cmd,
147-
'Some warnings are present which will be errors in the next version (https://standardjs.com'
148+
`Some warnings are present which will be errors in the next version${homepage}`
148149
)
149150
}
150151

0 commit comments

Comments
 (0)