Skip to content

fix: fix #151 (inverted default commands)#152

Merged
sxzz merged 4 commits intocacjs:mainfrom
domdomegg:fix-inverted-defaults
Feb 27, 2026
Merged

fix: fix #151 (inverted default commands)#152
sxzz merged 4 commits intocacjs:mainfrom
domdomegg:fix-inverted-defaults

Conversation

@domdomegg
Copy link
Contributor

Rather than checking just the name, use the existing helper function isDefaultCommand to determine whether a command is a default command.

This supports using the ! alias to register a default command.

@domdomegg domdomegg changed the title Fix #151 (inverted default commands) fix: fix #151 (inverted default commands) Feb 17, 2023
@domdomegg
Copy link
Contributor Author

Review requested from @egoist

@sxzz sxzz merged commit 28ddf47 into cacjs:main Feb 27, 2026
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