Skip to content

weird warning on unused package #51

@bobzhang

Description

@bobzhang
git/toml-parser$moon clean
git/toml-parser$moon test 
Warning: [0029]
   ╭─[ /Users/hongbozhang/git/toml-parser/cmd/main/moon.pkg.json:4:5 ]
   │
 4 │     "bobzhang/toml"
   │     ───────┬───────  
   │            ╰───────── Warning: Unused package 'bobzhang/toml'
───╯

There are multiple bugs I found:

  1. when I removed cmd/main_test.mbt, the warning is still there, a close look shows that the blackbox test is always there even there is no blackbox test
  2. It seems the warning does not follow the running command, I could not reproduce the behavior when I ran moon test --verbose

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions