mirror of
https://github.com/Unitech/pm2.git
synced 2026-02-01 16:57:09 +00:00
fix allowing to update namespaced pm2 NPM module (@org/module-name)
This commit is contained in:
parent
5e20239d63
commit
8f3b8de8c7
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user