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

Remove node/yarn dependency from clobber and support windows #3043

Merged
merged 2 commits into from
Jun 16, 2021

Conversation

joshleblanc
Copy link
Contributor

This is a twofer, because I ran into one issue while trying to fix the other.

The first issue fixed was introduced in #2943, which uses a platform specific shell command to determine if yarn/node are installed. This PR updates this change to use an equivelant windows command on windows platforms.

The second change removes the dependency on yarn and node when running webpacker:clobber, since neither of these are needed. This is fairly important because webpacker:clobber is implicitly called when assets:clobber is called, which you might call on a server that's not set up for development (and therefor missing node/yarn).

@dhh dhh merged commit 9af9eec into rails:master Jun 16, 2021
@crawler crawler mentioned this pull request Jun 16, 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