bin icon indicating copy to clipboard operation
bin copied to clipboard

[add] setup script - to create custom dir/scripts/styles

Open pavanjadhaw opened this issue 5 years ago • 2 comments

pavanjadhaw avatar Aug 27 '19 08:08 pavanjadhaw

Unnecessarily complicated and adds dependencies. Just do

fs.writeFileSync(path, content);

Sync is perfectly fine in short running setup scripts.

MKRhere avatar Aug 27 '19 08:08 MKRhere

Also respect any existing scripts, do not overwrite.

MKRhere avatar Aug 27 '19 08:08 MKRhere