Skip to content

Conversation

rmacklin
Copy link
Contributor

@rmacklin rmacklin commented Sep 27, 2021

The importmap:pins rake task was added in f42f53e before the bin/importmap CLI existed. Its function is identical to the bin/importmap json command, though, so I'm proposing we remove the rake task in an effort to consolidate around just the bin/importmap CLI (which also hosts the pin and unpin commands).

This rake task was added in f42f53e
before the `bin/importmap` CLI existed. Its function is identical to
the `bin/importmap json` command, though, so let's remove it to
consolidate around the `bin/importmap` CLI (which also hosts the `pin`
and `unpin` commands).
@rmacklin
Copy link
Contributor Author

rmacklin commented Sep 28, 2021

@dhh Curious to get your thoughts on this proposal - Is there a benefit to keeping the rake task now that we have the CLI which does the same (and offers additional commands)?

My preference would be to keep it simple and just offer the CLI, but if you see value in the duplicate task I can close this PR.

@dhh dhh merged commit 1d0084e into rails:main Sep 28, 2021
@rmacklin rmacklin deleted the remove-importmap-pins-rake-task branch September 28, 2021 15:13
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