We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
protected lint(doc: vscode.TextDocument) { let docUri: string = isWindows ? this.useWSL ? this.convertToWslPath(doc.uri.fsPath) : doc.uri.fsPath.replace(/\\/g, '/') : doc.uri.fsPath; let docFolder: string = isWindows ? this.useWSL ? this.convertToWslPath(path.dirname(doc.uri.fsPath)) : path.dirname(doc.uri.fsPath).replace(/\\/g, '/') : path.dirname(doc.uri.fsPath); let cwd: string = this.runAtFileLocation ? isWindows ? path.dirname(docUri) : docFolder : vscode.workspace.workspaceFolders[0].uri.fsPath; let verilator: string = isWindows ? this.useWSL ? 'wsl verilator' : 'verilator_bin.exe' : 'verilator';
path.dirname(docUri) is changed to wsl path when docUri checked isWindows =true && useWSL = true
let cwd: string = this.runAtFileLocation ? isWindows ? path.dirname(doc.uri.fsPath.replace(/\\/g, '/')) : docFolder : vscode.workspace.workspaceFolders[0].uri.fsPath;
I tested windows and wsl
The text was updated successfully, but these errors were encountered:
Thanks. I thought we'd escaped from a rabbit hole of complexity :(
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
path.dirname(docUri) is changed to wsl path when docUri checked isWindows =true && useWSL = true
I tested windows and wsl
The text was updated successfully, but these errors were encountered: