We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ac88f68 commit b32b8f4Copy full SHA for b32b8f4
1 file changed
lana/src/display/OpenFileInPackage.ts
@@ -1,7 +1,7 @@
1
/*
2
* Copyright (c) 2020 Certinia Inc. All rights reserved.
3
*/
4
-import { sep } from 'path';
+import { basename, sep } from 'path';
5
import {
6
Position,
7
Selection,
@@ -63,7 +63,7 @@ export class OpenFileInPackage {
63
64
if (!symbolLocation.isExactMatch) {
65
context.display.showErrorMessage(
66
- `Symbol '${symbolLocation.missingSymbol}' could not be found in file '${fileName}'`,
+ `Symbol '${symbolLocation.missingSymbol}' could not be found in file '${basename(path)}'`,
67
);
68
}
69
const zeroIndexedLineNumber = symbolLocation.line - 1;
0 commit comments