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 1102157 commit 5ed0063Copy full SHA for 5ed0063
Tests/JavaKitTests/BasicRuntimeTests.swift
@@ -16,7 +16,6 @@ import JavaKit
16
import JavaKitNetwork
17
import JavaKitVM
18
import Testing
19
-import Foundation
20
21
#if os(Linux)
22
import Glibc
@@ -95,10 +94,7 @@ var isLinux: Bool {
95
94
96
/// Whether we're running on MacOS in an interactive terminal session.
97
var isMacOSTerminal: Bool {
98
- isMacOS && (
99
- isatty(STDOUT_FILENO) == 1 ||
100
- ProcessInfo.processInfo.environment["IS_TTY"] != nil // since 'swift test' still sometimes hides the fact we're in tty
101
- )
+ isMacOS && isatty(STDOUT_FILENO) == 1
102
}
103
104
/// Whether we're running on MacOS.
0 commit comments