Skip to content

Commit 1e567bd

Browse files
authored
Do not print workspace-state diagnostic to stdout (#3621)
1 parent ca3f569 commit 1e567bd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Sources/Workspace/WorkspaceState.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,8 @@ public final class WorkspaceState: SimplePersistanceProtocol {
6363
try self.persistence.restoreState(self)
6464
} catch {
6565
// FIXME: We should emit a warning here using the diagnostic engine.
66-
print("\(error)")
66+
TSCBasic.stderrStream.write("\(error)\n")
67+
TSCBasic.stderrStream.flush()
6768
}
6869
}
6970

0 commit comments

Comments
 (0)