mirror of
https://gitee.com/BDWare/common
synced 2025-01-09 17:34: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() {
|
||||
if (path.startsWith("@"))
|
||||
return path.replaceAll("@", "/.depyjs/");
|
||||
if(!path.startsWith("/"))
|
||||
return "/" + path;
|
||||
return path;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user