mirror of
https://github.com/clinicjs/node-clinic.git
synced 2026-01-25 16:43:42 +00:00
update recommendation to include arguments passed to script
This commit is contained in:
parent
654b8d84fe
commit
397e93d0e3
6
bin.js
6
bin.js
@ -613,7 +613,11 @@ async function runTool (args, Tool, version, uiOptions) {
|
||||
|
||||
if (Tool.name === 'ClinicDoctor' && !args['collect-only'] && !args['visualize-only']) {
|
||||
const iss = tool.issue
|
||||
const proc = dargs(args['--'])
|
||||
|
||||
const argsArr = args['--']
|
||||
argsArr.shift()
|
||||
const proc = argsArr.join(' ')
|
||||
|
||||
if (iss !== 'none' && iss !== undefined) {
|
||||
console.log(`Doctor detected a potential ${iss} issue.`)
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user