We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d3fd23c commit e99506eCopy full SHA for e99506e
Sources/IssueReporting/IssueReporters/RuntimeWarningReporter.swift
@@ -66,11 +66,11 @@ public struct _RuntimeWarningReporter: IssueReporter {
66
column: UInt
67
) {
68
#if canImport(os)
69
- guard ProcessInfo.processInfo.environment["XCODE_RUNNING_FOR_PREVIEWS"] != "1"
70
- else {
71
- print("🟣 \(fileID):\(line): \(message() ?? "")")
72
- return
73
- }
+ guard ProcessInfo.processInfo.environment["XCODE_RUNNING_FOR_PREVIEWS"] != "1"
+ else {
+ print("🟣 \(fileID):\(line): \(message() ?? "")")
+ return
+ }
74
let moduleName = String(
75
Substring("\(fileID)".utf8.prefix(while: { $0 != UTF8.CodeUnit(ascii: "/") }))
76
)
0 commit comments