We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
swiftwasm
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent 2f8e37f commit 6236711Copy full SHA for 6236711
Plugins/PackageToJS/Sources/PackageToJSPlugin.swift
@@ -266,7 +266,7 @@ struct PackageToJSPlugin: CommandPlugin {
266
private func printProgress(context: MiniMake.ProgressPrinter.Context, message: String) {
267
let buildCwd = FileManager.default.currentDirectoryPath
268
let outputPath = context.scope.resolve(path: context.subject.output).path
269
- let displayName = outputPath.hasPrefix(buildCwd)
+ let displayName = outputPath.hasPrefix(buildCwd + "/")
270
? String(outputPath.dropFirst(buildCwd.count + 1)) : outputPath
271
printStderr("[\(context.built + 1)/\(context.total)] \(displayName): \(message)")
272
}
0 commit comments