8000 Update `savePackageFiles` to only work on modified files by damolina-stripe · Pull Request #7240 · sorbet/sorbet · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Update savePackageFiles to only work on modified files #7240

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 18, 2023

Conversation

damolina-stripe
Copy link
Collaborator
@damolina-stripe damolina-stripe commented Aug 18, 2023

Update savePackageFiles so

  • only modified __package.rb files are looked at.
  • logic leaves early if there is nothing to save.
  • it is OS agnostic (use of / is platform specific).

Motivation

Follow-up to #7214

Test plan

See included automated tests.

Update to `savePackageFiles` so
- only modified `__package.rb` files  are saved. - logic leaves early if there is nothing to save.
-  it is compatible OS agnostic (use of `/` is platform specific).
@damolina-stripe damolina-stripe requested a review from a team as a code owner August 18, 2023 17:59
@damolina-stripe damolina-stripe requested review from froydnj and removed request for a team August 18, 2023 17:59
@damolina-stripe damolina-stripe enabled auto-merge (squash) August 18, 2023 18:05
@damolina-stripe damolina-stripe merged commit e4bff39 into master Aug 18, 2023
@damolina-stripe damolina-stripe deleted the damolina/simplify_savePackageFiles branch August 18, 2023 18:17
ilyailya pushed a commit that referenced this pull request Sep 6, 2023
Update to `savePackageFiles` so
- only modified `__package.rb` files  are saved. - logic leaves early if there is nothing to save.
-  it is compatible OS agnostic (use of `/` is platform specific).
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.

3 participants
0