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.
relativePath
1 parent d2b35a5 commit 982df82Copy full SHA for 982df82
builtin/renderer/relative_path.ts
@@ -34,9 +34,7 @@ export function relativePath(
34
// Convert absolute path in label to relative path
35
items.forEach((item) => {
36
const relpath = relative(base, item.detail.path);
37
- if (item.label.includes(item.detail.path)) {
38
- item.label = item.label.replace(item.detail.path, relpath);
39
- }
+ item.label = item.label.replace(item.detail.path, relpath);
40
});
41
42
}
0 commit comments