duckduckgo-documentation icon indicating copy to clipboard operation
duckduckgo-documentation copied to clipboard

CODIO: protect against terrible module names

Open zekiel opened this issue 10 years ago • 3 comments

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

zekiel avatar Nov 11 '14 03:11 zekiel

can't reproduce.

zekiel avatar Nov 11 '14 03:11 zekiel

screen shot 2014-11-10 at 11 10 42 pm

should pop a confirmation against bad file naming per @moollaza suggestion

zekiel avatar Nov 11 '14 04:11 zekiel

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.

moollaza avatar Nov 11 '14 18:11 moollaza