Skip to content

Commit

Permalink
Merge pull request #12 from checkout/update/request-configuration
Browse files Browse the repository at this point in the history
Make request of RequestConfiguration public-read and private-set
  • Loading branch information
okhan-okbay-cko authored Jan 25, 2024
2 parents 95f1eb2 + cd36b03 commit 4bfb354
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/scripts/lintEditedFiles.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ git fetch origin main
echo "Fetched"

# Use a conditional to check if there are edited files
if EDITED_FILES=$(git diff HEAD origin/main --name-only --diff-filter=d | grep "\.swift" | grep -v "\.swiftlint\.yml" | xargs echo | tr ' ' ',' | sed 's/,/, /g'); then
if EDITED_FILES=$(git diff HEAD origin/main --name-only --diff-filter=d | sed 's/ //g' | grep "\.swift" | grep -v "\.swiftlint\.yml" | xargs echo | tr ' ' ',' | sed 's/,/, /g'); then
echo "Got edited files"
echo $EDITED_FILES

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ import Foundation
public struct RequestConfiguration {

/// Request created from the consumers configuration
let request: URLRequest
private(set) public var request: URLRequest

/// Create request configuration with provided parameters. In case of failure will throw a `CheckoutNetworkError`
///
/// - Parameter path: Should be an enum case that is able to generate URL for request
Expand Down

0 comments on commit 4bfb354

Please sign in to comment.