This commit is contained in:
2026-08-28 00:06:14 +01:00
parent 4ebf3bd60f
commit be0c761cb3
2 changed files with 3 additions and 13 deletions
-2
View File
@@ -173,8 +173,6 @@ func run(cmd *cobra.Command, args []string) error {
return fmt.Errorf("failed to resolve output path: %w", err)
}
absOutput = filepath.Join(filepath.Dir(absOutput), filepath.Base(absOutput)+"_dirmd")
if !appendMode {
if _, err := os.Stat(absOutput); err == nil && !force {
return fmt.Errorf("output directory %s already exists (use -f to overwrite)", absOutput)