Skip to content

Latest commit

 

History

History
25 lines (16 loc) · 646 Bytes

README.md

File metadata and controls

25 lines (16 loc) · 646 Bytes

README

  • Subject knip issue-678
  • the deep file structure should simulate a project path, which contains builds

Reproducer

The repository presents a correct JS repository, which uses the dependency chalk.

cd knipuser/cicd/builds/project42
npm ci
npm run knip

# > project42@1.0.0 knip
# > knip

# Unused devDependencies (1)
# chalk  package.json

The result is wrong. chalk is used. See analysis in the issue.

Check npm run knip -- --debug to see that src/index.mjs is not matching, although entrypoint and it exists.