-
Notifications
You must be signed in to change notification settings - Fork 98
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
strictVerify
types seem wrong
#344
Comments
Additionally misleading as it says the defaultValue is Looks like the README when the option was added was correct af53ad0#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5R214
|
I'm not sure I follow. So what are the values supposed to be for |
Given
Or if |
@erickzhao , what are your thoughts? Can we update the typescript definition? Lines 175 to 180 in 757fa60
Seems like it should be:
It'd be a major semver update, so it could be timed with the node 22 upgrade. Alternatively, a new config prop |
I'd say to avoid maintenance burden maybe just |
The issue imo with a blank |
Even just fixing the boolean behaviour is good enough for me, I think relying on the default value as the only working |
I think this is sensible. If the previous TypeScript definitions were broken, I think changing these to something that works wouldn't be a breaking change regardless. |
The type is an optional boolean, yet the code has handling for string values.
osx-sign/src/sign.ts
Lines 78 to 85 in 757fa60
Worse yet, treating it as a boolean entirely fails in my experience.
Indeed the man page does not list
--strict=true
as a valid option.The text was updated successfully, but these errors were encountered: