From 7548c5a17f02b7532d171d357c45b03781f81d70 Mon Sep 17 00:00:00 2001 From: luoxiu Date: Mon, 20 Jul 2020 11:02:05 +0800 Subject: [PATCH] fix cocoapods --- Sources/Chalk/Color.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Sources/Chalk/Color.swift b/Sources/Chalk/Color.swift index 6ea6313..19cffe6 100644 --- a/Sources/Chalk/Color.swift +++ b/Sources/Chalk/Color.swift @@ -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 { @@ -65,8 +67,6 @@ extension ANSI16Color: TerminalColor { } } -public typealias RainbowColor = Rainbow.Color - extension RainbowColor: TerminalColor { private func code(offset: UInt8) -> String {