Skip to content

Commit 53ab65f

Browse files
Merge pull request #114 from contentstack/fix/DX-3567-github-issue
github issue fix
2 parents fea8730 + 68e8257 commit 53ab65f

4 files changed

Lines changed: 4 additions & 11 deletions

File tree

.gitignore

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,6 @@ docs
7777

7878
fastlane/
7979
Gemfile
80-
#config file
81-
Tests/config.json
8280

8381
snyk_output.log
84-
talisman_output.log
82+
talisman_output.log

Sources/ImageTransformError.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import Foundation
99
/// Information regarding an error received from Contentstack's Image Delivery API.
1010
public struct ImageTransformError: Error, CustomDebugStringConvertible {
1111
/// Human redable error Message
12-
internal let message: String
12+
public let message: String
1313

1414
public var debugDescription: String {
1515
return message

Sources/Utils.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ internal extension Array {
2929
}
3030
}
3131

32-
internal extension String {
32+
public extension String {
3333
// Will make a `URL` from the current `String` instance if possible.
3434
func toURL() throws -> URL {
3535
guard var urlComponents = URLComponents(string: self) else {
@@ -90,7 +90,7 @@ internal extension String {
9090
return url
9191
}
9292

93-
func isHexColor() -> Bool {
93+
internal func isHexColor() -> Bool {
9494
let hexColorRegex3Deci = "[0-9A-Fa-f]{3}"
9595
let hexColorPred3Deci = NSPredicate(format: "SELF MATCHES %@", hexColorRegex3Deci)
9696

Tests/config.json

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

0 commit comments

Comments
 (0)