mirror of
https://gitee.com/BDWare/common
synced 2025-01-25 01:04:16 +00:00
fix the wrong path
This commit is contained in:
parent
2f42539293
commit
192336d2b0
@ -16,6 +16,8 @@ public class ImportNode {
|
|||||||
public String getPath() {
|
public String getPath() {
|
||||||
if (path.startsWith("@"))
|
if (path.startsWith("@"))
|
||||||
return path.replaceAll("@", "/.depyjs/");
|
return path.replaceAll("@", "/.depyjs/");
|
||||||
|
if(!path.startsWith("/"))
|
||||||
|
return "/" + path;
|
||||||
return path;
|
return path;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user