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 48036ff commit 2608259Copy full SHA for 2608259
src/test/linters/lint.args.test.ts
@@ -122,7 +122,7 @@ suite('Linting - Arguments', () => {
122
});
123
test('Prospector', async () => {
124
const linter = new Prospector(outputChannel.object, serviceContainer);
125
- const expectedPath = workspaceUri ? path.relative(workspaceUri, fileUri.fsPath) : path.basename(fileUri.fsPath);
+ const expectedPath = workspaceUri ? fileUri.fsPath.substring(workspaceUri.length + 2) : path.basename(fileUri.fsPath);
126
const expectedArgs = ['--absolute-paths', '--output-format=json', expectedPath];
127
await testLinter(linter, expectedArgs);
128
0 commit comments