Commit 414c887e authored by Drew's avatar Drew

Use softFail for imported packages

parent 1b515bf8
Pipeline #2793 passed with stage
in 1 minute and 49 seconds
......@@ -248,7 +248,7 @@ final public class Package {
for importFile in imports {
guard let importFileString = importFile.string else { fatalError("Non-string import \(importFile)")}
let adjustedImportPath = (pathOnDisk + importFileString).dirname()
let remotePackage = try Package(filepath: pathOnDisk + importFileString, overlay: requestedGlobalOverlays, focusOnTask: nil)
let remotePackage = try Package(filepath: pathOnDisk + importFileString, overlay: requestedGlobalOverlays, focusOnTask: nil, softFail: softFail)
remotePackage.adjustedImportPath = adjustedImportPath
remotePackages.append(remotePackage)
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment