Skip to content

Commit

Permalink
fix cocoapods
Browse files Browse the repository at this point in the history
  • Loading branch information
luoxiu committed Jul 20, 2020
1 parent d183e86 commit 7548c5a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Sources/Chalk/Color.swift
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,10 @@ import Foundation

#if COCOAPODS
@_exported import RainbowPod
public typealias RainbowColor = RainbowPod.Color
#else
@_exported import Rainbow
public typealias RainbowColor = Rainbow.Color
#endif

public protocol TerminalColor {
Expand Down Expand Up @@ -65,8 +67,6 @@ extension ANSI16Color: TerminalColor {
}
}

public typealias RainbowColor = Rainbow.Color

extension RainbowColor: TerminalColor {

private func code(offset: UInt8) -> String {
Expand Down

0 comments on commit 7548c5a

Please sign in to comment.