When running `deno fmt` with no input paths with no deno.json or
package.json:
* In tty environments, prompts for confirmation.
* In non-tty environments, errors without providing the current
directory (`deno fmt .`).
The reason for this is we had too many complaints of people accidentally
running `deno fmt` in a directory that wasn't a JS project.