|
|
@@ -150,6 +150,8 @@ function createThrottledValue(getValue: () => string) {
|
|
|
function relativizeProjectPaths(text: string, directory?: string) {
|
|
|
if (!text) return ""
|
|
|
if (!directory) return text
|
|
|
+ if (directory === "/") return text
|
|
|
+ if (directory === "\\") return text
|
|
|
return text.split(directory).join("")
|
|
|
}
|
|
|
|