mirror of
https://gitee.com/BDWare/common
synced 2025-01-09 17:34:16 +00:00
support importNode
This commit is contained in:
parent
c65e459208
commit
7bb99d3da9
@ -52,7 +52,7 @@ dependencies {
|
||||
}
|
||||
group = "org.bdware.sc"
|
||||
|
||||
version = "1.7.3"
|
||||
version = "1.7.4"
|
||||
tasks.processResources.setDuplicatesStrategy(DuplicatesStrategy.INCLUDE)
|
||||
|
||||
task copyLibs(type: Copy) {
|
||||
|
@ -14,6 +14,8 @@ public class ImportNode {
|
||||
}
|
||||
|
||||
public String getPath() {
|
||||
if (path.startsWith("@"))
|
||||
path.replaceAll("@", "/.depyjs/");
|
||||
return path;
|
||||
}
|
||||
}
|
||||
|
@ -119,7 +119,6 @@ public class ContractReader extends YJSParserBaseVisitor<ContractNode> {
|
||||
// ctx.getSourceInterval()
|
||||
discoverFunctionDependency(node, contractDelcar);
|
||||
discoverContractDependency(node, contractDelcar);
|
||||
|
||||
return node;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user