duckduckgo-documentation
duckduckgo-documentation copied to clipboard
CODIO: protect against terrible module names
After clicking the DuckPAN New Goodie tab in Codio (step 1 here, pressing enter creates a new goodie named:
e.g. after clicking "cd ~/workspace/zeroclickinfo-goodies && duckpan new
can't reproduce.
should pop a confirmation against bad file naming per @moollaza suggestion
There's definitely a safe-guard against the user just pressing "Enter" at the prompt, but we don't really check if the input is just a bunch of spaces or " "
.
Working on a PR to fix this.