fix allowing to update namespaced pm2 NPM module (@org/module-name)

This commit is contained in:
Endel Dreyer 2024-11-13 11:05:11 -03:00 committed by GitHub
parent 5e20239d63
commit 8f3b8de8c7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -35,7 +35,7 @@ function copydirSync(from, to, options) {
fs.statSync(to);
} catch(err) {
if(err.code === 'ENOENT') {
fs.mkdirSync(to);
fs.mkdirSync(to, { recursive: true });
options.debug && console.log('>> ' + to);
} else {
throw err;