We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7609bb1 commit 9bbdecdCopy full SHA for 9bbdecd
src/linter/VerilatorLinter.ts
@@ -109,6 +109,11 @@ export default class VerilatorLinter extends BaseLinter {
109
(_error: Error, _stdout: string, stderr: string) => {
110
let diagnostics: vscode.Diagnostic[] = [];
111
stderr.split(/\r?\n/g).forEach((line, _) => {
112
+ if (line.search("No such file or directory") >= 0 || line.search("Not a directory") >= 0 || line.search("command not found") >= 0) {
113
+ this.logger.error(`Could not execute command: ${command}`);
114
+ return;
115
+ }
116
+
117
if (!line.startsWith('%') || line.indexOf(docUri) <= 0) {
118
return;
119
}
0 commit comments