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

Lint Generator: Handling missing package.json #1179

Merged
merged 1 commit into from
Mar 26, 2024

Conversation

stevepolitodesign
Copy link
Contributor

In order to avoid raising No such file or directory, we create a package.json file if one does not exist. We borrow a template from cssbundling-rails.

In order to avoid raising `No such file or directory`, we create a
`package.json` file if one does not exist. We borrow a template from
[cssbundling-rails][].

[cssbundling-rails]: https://github.com/rails/cssbundling-rails/blob/09d81cb0accf00abb77d8af5b24f5aad0b71a57a/lib/install/package.json#L3
@stevepolitodesign stevepolitodesign merged commit f76fb25 into suspenders-3-0-0 Mar 26, 2024
2 checks passed
@stevepolitodesign stevepolitodesign deleted the suspenders-3-0-0-lint-follow-up branch March 26, 2024 16:37
stevepolitodesign added a commit that referenced this pull request May 10, 2024
In order to avoid raising `No such file or directory`, we create a
`package.json` file if one does not exist. We borrow a template from
[cssbundling-rails][].

[cssbundling-rails]: https://github.com/rails/cssbundling-rails/blob/09d81cb0accf00abb77d8af5b24f5aad0b71a57a/lib/install/package.json#L3
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.

1 participant