Skip to content

Commit a4b48f4

Browse files
authored
Merge pull request #1109 from ahoppen/ahoppen/no-log-error-no-package-manifest
Don’t log error if workspace root doesn’t contain Swift package manifest
2 parents 71037eb + 5d17ee3 commit a4b48f4

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Sources/SKSwiftPMWorkspace/SwiftPMWorkspace.swift

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -188,8 +188,7 @@ public actor SwiftPMWorkspace {
188188
buildSetup: buildSetup,
189189
reloadPackageStatusCallback: reloadPackageStatusCallback
190190
)
191-
} catch Error.noManifest(let path) {
192-
logger.error("could not find manifest, or not a SwiftPM package: \(path)")
191+
} catch Error.noManifest {
193192
return nil
194193
} catch {
195194
logger.error("failed to create SwiftPMWorkspace at \(url.path): \(error.forLogging)")

0 commit comments

Comments
 (0)