Skip to content

Switches where we check for invalid input, to move it inside the download function#127

Merged
dnkoutso merged 1 commit into
1-6-stablefrom
validate_before_dl
Mar 28, 2022
Merged

Switches where we check for invalid input, to move it inside the download function#127
dnkoutso merged 1 commit into
1-6-stablefrom
validate_before_dl

Conversation

@orta

@orta orta commented Mar 28, 2022

Copy link
Copy Markdown
Member

While CocoaPods would have seen this issue, moves the check into the core path of using the cocoapods-download api. We're supposed to assume clients would not always run the pre-process API:

      # preprocess download options
      #
      # Usage of this method is optional. concrete strategies should not
      # assume options are preprocessed for correct execution.
      #

@dnkoutso

Copy link
Copy Markdown
Contributor

LGTM @orta want to do it for 1-6-stable so I can ship 1.6.3?

@orta
orta changed the base branch from master to 1-6-stable March 28, 2022 16:15
@orta

orta commented Mar 28, 2022

Copy link
Copy Markdown
Member Author

Hrm, tests passed locally, let's see what's up

@dnkoutso

Copy link
Copy Markdown
Contributor

I think it was just rubocop

@orta
orta force-pushed the validate_before_dl branch from 73d576b to 99fec61 Compare March 28, 2022 16:17
@dnkoutso
dnkoutso merged commit d2564c3 into 1-6-stable Mar 28, 2022
@dnkoutso
dnkoutso deleted the validate_before_dl branch March 28, 2022 16:20
@dnkoutso
dnkoutso restored the validate_before_dl branch March 28, 2022 16:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants