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