Skip to content

Commit

Permalink
Make request property of RequestConfiguration public-read and private…
Browse files Browse the repository at this point in the history
…-set
  • Loading branch information
okhan-okbay-cko committed Jan 24, 2024
1 parent 95f1eb2 commit cd36b03
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 cd36b03

Please sign in to comment.