fix the wrong path

This commit is contained in:
haoeliu@foxmail.com 2023-06-15 17:56:34 +08:00
parent 2f42539293
commit 192336d2b0

View File

@ -16,6 +16,8 @@ public class ImportNode {
public String getPath() {
if (path.startsWith("@"))
return path.replaceAll("@", "/.depyjs/");
if(!path.startsWith("/"))
return "/" + path;
return path;
}
}