-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix default argument handling in rake artifact task (#13904)
Ruby allows methods to have default values in arguments if they're not passed. However if a nil is passed then the default value isn't used. The artifact:archives tasks were passing nil values to the exclusion argument, causing all files to be included in the package. This commit cleans the naming of the path lists and ensures the default exclusion list is always used.
- Loading branch information
Showing
1 changed file
with
16 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters