Commit 9afedad9 authored by Drew's avatar Drew

Use trailing slash for pathOnDisk

This significantly simplifies tools that want to work with paths that
are relative to the atpkg file.  They can simply use task.importedPath +
task[field].string! etc.
parent 75a694a7
Pipeline #1354 passed with stage
......@@ -179,7 +179,7 @@ final public class Package {
if != "package" { throw PackageError.NonPackage }
self.importedPath = pathOnDisk
self.importedPath = pathOnDisk.pathWithTrailingSlash
if let value =[Key.Name.rawValue]?.string { = value }
else {
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