This change also fixes an issue when porting the module github.com/caddyserver/caddy where two of the dependencies slightly overlap causing the copy to fail. Now Wharf will investigate to see if the root "copy imports directory" exists, and if it does it will warn the user and request confirmation. If STDIN is not a TTY, it will just abort unless a new flag (-f) is passed in.
This change also fixes an issue when porting the module github.com/caddyserver/caddy where two of the dependencies slightly overlap causing the copy to fail. Now Wharf will investigate to see if the root "copy imports directory" exists, and if it does it will warn the user and request confirmation. If STDIN is not a TTY, it will just abort unless a new flag (-f) is passed in.