Skip to content

Commit 65d52a2

Browse files
authored
Dev verilator (#429)
* Update VerilatorLinter.ts cwd path fix ( wsl to windows ) when iswindows = true * Update CHANGELOG.md add unreleased
1 parent a571a31 commit 65d52a2

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,14 @@ All notable changes to this project will be documented in this file.
44

55
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
66

7+
## [unreleased]
8+
9+
### Fixed
10+
11+
- Fix [#428](https://github.com/mshr-h/vscode-verilog-hdl-support/issues/428)
12+
13+
14+
715
## [1.11.10] - 2023-06-12
816

917
### Fixed

src/linter/VerilatorLinter.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ export default class VerilatorLinter extends BaseLinter {
7878
: path.dirname(doc.uri.fsPath);
7979
let cwd: string = this.runAtFileLocation
8080
? isWindows
81-
? path.dirname(docUri)
81+
? path.dirname(doc.uri.fsPath.replace(/\\/g, '/'))
8282
: docFolder
8383
: vscode.workspace.workspaceFolders[0].uri.fsPath;
8484
let verilator: string = isWindows

0 commit comments

Comments
 (0)