We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8174af8 commit 434cdb9Copy full SHA for 434cdb9
1 file changed
src/commands/validate.ts
@@ -374,7 +374,7 @@ function validateCompliance(dir: string): ValidationResult {
374
const fg = c.financial_governance;
375
if (fg) {
376
if (fg.enabled && fg.spending) {
377
- if (fg.spending.max_per_transaction_cents <= 0) {
+ if (fg.spending.max_per_transaction_cents !== undefined && fg.spending.max_per_transaction_cents <= 0) {
378
result.valid = false;
379
result.errors.push(
380
'[financial_governance] spending.max_per_transaction_cents must be a positive integer'
0 commit comments