Skip to content
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

Update install_customizations to prevent warnings #295

Merged
merged 1 commit into from
Sep 28, 2021
Merged

Update install_customizations to prevent warnings #295

merged 1 commit into from
Sep 28, 2021

Conversation

rakuzen25
Copy link
Contributor

Description of Change

Force-remove the customisation folder in order to prevent rm throwing remove write-protected regular file warning on Git objects under the .git directory.

Related Issue

N/A

Motivation and Context

When I was running the customisation script, I needed to manually say yes to all the rm: remove write-protected regular file './custom/.git/objects/[...]'? warnings, so I think this should fix it.

First PR here so please do correct me if I'm wrong about anything :)

Checklist

  • Ran npm run lint and updated code style accordingly
  • npm run test passes (it didn't pass even without my commit?)
  • PR has a description and all contributors/stakeholder are noted/cc'ed
  • tests are updated and/or added to cover new code (no need for new tests I reckon?)
  • relevant documentation is changed and/or added (does not affect documentation)

Add `-f` to prevent `rm` throwing `remove write-protected regular file` warning.
Copy link
Member

@afischer afischer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your contribution!

@afischer afischer merged commit 414426f into nytimes:main Sep 28, 2021
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