Skip to content

Commit

Permalink
fix Linux compilation issue in unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jpsim committed Jul 30, 2017
1 parent 0527c87 commit fd0c3a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tests/StencilSwiftKitTests/TestsHelper.swift
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import XCTest
import PathKit

private let colorCode: (String) -> String =
ProcessInfo().environment["XcodeColors"] == "YES" ? { "\u{001b}[\($0);" } : { _ in "" }
ProcessInfo.processInfo.environment["XcodeColors"] == "YES" ? { "\u{001b}[\($0);" } : { _ in "" }
private let (msgColor, reset) = (colorCode("fg250,0,0"), colorCode(""))
private let okCode = (num: colorCode("fg127,127,127"),
code: colorCode(""))
Expand Down

0 comments on commit fd0c3a0

Please sign in to comment.