Skip to content

Commit e974a4d

Browse files
committed
tiny cleanup
1 parent b1cb0c0 commit e974a4d

File tree

3 files changed

+8
-36
lines changed

3 files changed

+8
-36
lines changed

Sources/Basics/ProgressAnimation/Misc/ProgressAnimationProtocol3.swift

Lines changed: 0 additions & 28 deletions
This file was deleted.

Sources/Basics/ProgressAnimation/Terminal/TerminalCapabilities+Interactive.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ extension TerminalCapabilities {
3131

3232
extension Environment {
3333
/// The interactivity enabled by the `"TERM"` environment variable.
34-
internal var termInteractive: Bool? {
34+
var termInteractive: Bool? {
3535
switch self["TERM"] {
3636
case "dumb": false
3737
default: nil

Sources/Basics/ProgressAnimation/Terminal/TerminalColoring.swift

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ extension Environment {
7373
/// - Returns: `nil` if the `"CLICOLOR"` environment variable is undefined,
7474
/// `true` if the `"CLICOLOR"` is defined to a non `"0"` value, `false`
7575
/// otherwise.
76-
internal var cliColor: Bool? {
76+
var cliColor: Bool? {
7777
self["CLICOLOR"].map { $0 != "0" }
7878
}
7979

@@ -84,7 +84,7 @@ extension Environment {
8484
///
8585
/// - Returns: `true` if the `"CLICOLOR_FORCE"` environment variable is
8686
/// defined, `false` otherwise.
87-
internal var cliColorForce: Bool {
87+
var cliColorForce: Bool {
8888
self["CLICOLOR_FORCE"] != nil
8989
}
9090

@@ -95,12 +95,12 @@ extension Environment {
9595
///
9696
/// - Returns: `true` if the `"NO_COLOR"` environment variable is defined,
9797
/// `false` otherwise.
98-
internal var noColor: Bool {
98+
var noColor: Bool {
9999
self["NO_COLOR"] != nil
100100
}
101101

102102
/// The coloring enabled by the `"TERM"` environment variable.
103-
internal var termColoring: TerminalColoring? {
103+
var termColoring: TerminalColoring? {
104104
switch self["TERM"] {
105105
case "dumb": nil
106106
case "xterm": ._8
@@ -113,7 +113,7 @@ extension Environment {
113113
/// The coloring enabled by the
114114
/// [`"COLORTERM"`](https://github.com/termstandard/colors) environment
115115
/// variable.
116-
internal var colorTerm: TerminalColoring? {
116+
var colorTerm: TerminalColoring? {
117117
switch self["COLORTERM"] {
118118
case "truecolor", "24bit": ._16m
119119
default: nil
@@ -126,7 +126,7 @@ extension Environment {
126126
///
127127
/// - Returns: `true` if the `"CI"` environment variable is defined, `false`
128128
/// otherwise.
129-
internal var runningInCI: Bool {
129+
var runningInCI: Bool {
130130
self["CI"] != nil
131131
}
132132

@@ -136,7 +136,7 @@ extension Environment {
136136
///
137137
/// - Returns: `true` if the `"XPC_SERVICE_NAME"` environment variable
138138
/// includes `"com.apple.dt.xcode"`, `false` otherwise.
139-
internal var runningInXcode: Bool {
139+
var runningInXcode: Bool {
140140
self["XPC_SERVICE_NAME"]?.contains("com.apple.dt.xcode") ?? false
141141
}
142142
}

0 commit comments

Comments
 (0)