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

fix: add log.warn #85

Merged
merged 1 commit into from
Apr 5, 2024
Merged

fix: add log.warn #85

merged 1 commit into from
Apr 5, 2024

Conversation

mdjermanovic
Copy link
Member

log.warn export was missing

log.warn("You will need to install the dependencies yourself.");

The config that you've selected requires the following dependencies:

eslint, globals, @eslint/js
√ Would you like to install them now? · No / Yes
Successfully created C:\projects\create-config\eslint.config.js file.
file:///C:/projects/create-config/lib/config-generator.js:275
            log.warn("You will need to install the dependencies yourself.");
                ^

TypeError: log.warn is not a function
    at ConfigGenerator.output (file:///C:/projects/create-config/lib/config-generator.js:275:17)
    at async file:///C:/projects/create-config/bin/create-config.js:28:5

@eslint-github-bot eslint-github-bot bot added the bug Something isn't working label Apr 5, 2024
@nzakas nzakas merged commit 3749cd6 into main Apr 5, 2024
10 checks passed
@nzakas nzakas deleted the log-warn branch April 5, 2024 20:15
@github-actions github-actions bot mentioned this pull request Apr 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants