Skip to content

Invalid info message when boolean field is false #403

@grv87

Description

@grv87

boolean_false.ABOUT file:

about_resource: boolean_false.ABOUT
name: boolean_false
internal_use_only: false

Using develop branch, run:

# about check --verbose boolean_false.ABOUT
Running aboutcode-toolkit version 4.0.0.pre1
Checking ABOUT files...
INFO: about/boolean_false.ABOUT: Field internal_use_only is present but empty.

But field is present and not empty!

I agree with @chinyeungli's #327 (comment):

I think if users put a "No" or false value in the boolean field, they mean to put it there

Related: #326, #327.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions