More correct check for the path being absolute
This commit is contained in:
@@ -231,7 +231,7 @@ public class CompileEnvironment {
|
||||
moduleCompileSession.addStdLibSources();
|
||||
for (String sourceFile : moduleBuilder.getSourceFiles()) {
|
||||
File source = new File(sourceFile);
|
||||
if (!source.exists()) {
|
||||
if (!source.isAbsolute()) {
|
||||
source = new File(directory, sourceFile);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user