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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't allow default as a spinner #175

Merged
merged 3 commits into from Jun 8, 2021
Merged

Don't allow default as a spinner #175

merged 3 commits into from Jun 8, 2021

Conversation

erezrokah
Copy link
Contributor

Hello 馃憢

Thank you for this great tool 鉂わ笍

I spotted this bug while working on netlify/cli#2576.

Currently 'default' passes the validation while not being a valid spinner name.

@erezrokah
Copy link
Contributor Author

Also, not sure why the other validation test is disabled on windows:

ora/test.js

Line 315 in c7d6dba

if (process.platform !== 'win32') {

so I figured I'll try to run the new one on all platforms

@sindresorhus sindresorhus changed the title fix(validation): don't allow 'default' as spinner Don't allow default as a spinner Jun 8, 2021
@sindresorhus sindresorhus merged commit 659f839 into sindresorhus:main Jun 8, 2021
@erezrokah erezrokah deleted the fix/validate_default branch June 8, 2021 09:04
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.

None yet

2 participants