Skip to content
1 change: 1 addition & 0 deletions selene-vscode/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ All notable changes to the "selene-vscode" extension will be documented in this
If you want to stay up to date with selene itself, you can find the changelog in [selene's CHANGELOG.md](https://github.com/Kampfkarren/selene/blob/master/CHANGELOG.md).

## Unreleased
- Fixed an issue where the extension wouldn't respect the config file's exclude paths.

## [1.5.1]
- selene now works with the Luau language ID.
Expand Down
6 changes: 4 additions & 2 deletions selene-vscode/src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -149,10 +149,12 @@ export async function activate(

const output = await selene.seleneCommand(
context.globalStorageUri,
"--display-style=json2 --no-summary -",
// Must use relative path for now due to https://github.com/Kampfkarren/selene/issues/593
`--display-style=json2 --no-summary ${vscode.workspace.asRelativePath(
document.uri.fsPath,
)}`,
selene.Expectation.Stderr,
vscode.workspace.getWorkspaceFolder(document.uri),
document.getText(),
)

if (!output) {
Expand Down