i have the following function
async function zip() {
execSync('zip -r something.zip something', {
cwd: './',
}) }
how to to console log “success” if the process is done, and “fail” if it returns an error
Blancer.com Tutorials and projects
Freelance Projects, Design and Programming Tutorials
i have the following function
async function zip() {
execSync('zip -r something.zip something', {
cwd: './',
}) }
how to to console log “success” if the process is done, and “fail” if it returns an error