Skip to content

Commit

Permalink
Add more prints when loadConfig fails
Browse files Browse the repository at this point in the history
  • Loading branch information
idanpa committed Feb 2, 2020
1 parent 5b8fb0d commit 04733cd
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/checkpatchProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,10 @@ export default class CheckpatchProvider implements vscode.CodeActionProvider {
// all good
} else {
vscode.window.showErrorMessage(
`Checkpatch: calling '${this.linterConfig.path}' failed, please check checkpatch is available and change config.checkpatchPath accordingly`);
`Checkpatch: calling '${this.linterConfig.path}' failed, please check checkpatch.checkpatchPath and checkpatch.checkpatchPath configutations.`);
console.log(`Checkpatch: '${this.linterConfig.path}' '${args}'`)
if (childProcess.stderr)
console.log(`Checkpatch: '${childProcess.stderr.toString()}'`)
return;
}

Expand Down

0 comments on commit 04733cd

Please sign in to comment.