dot.target_not_empty
failureThis is a failure. A function returns it as a value, so your code keeps running and you decide what to do.
What happened
`dot new` would overwrite files in a non-empty target directory.
Fix
Choose an empty directory, or re-run with `--force` to overwrite.
Check the fix
dot new <name> --dry-run --json | jq -e .okRun it after the fix. It passes when the fix worked.
Where it comes from
- Package
- @arki/dot
- Version
- 0.7.0 · next release candidate
- Source
- src/cli/failures.ts:297