mirror of
https://github.com/strapi/strapi.git
synced 2025-12-27 23:24:03 +00:00
Merge branch 'master' into patch-2
This commit is contained in:
commit
55dbf463fe
@ -54,7 +54,7 @@ module.exports = {
|
||||
|
||||
strapi.log.info(`Installing ${plugin}...`);
|
||||
|
||||
exec(`node ${strapiBin} install ${plugin} ${port === '4000' ? '--dev' : ''}`);
|
||||
exec(`node "${strapiBin}" install ${plugin} ${port === '4000' ? '--dev' : ''}`);
|
||||
|
||||
ctx.send({ ok: true });
|
||||
|
||||
@ -87,7 +87,7 @@ module.exports = {
|
||||
strapi.reload.isWatching = false;
|
||||
|
||||
strapi.log.info(`Uninstalling ${plugin}...`);
|
||||
exec(`node ${strapiBin} uninstall ${plugin}`);
|
||||
exec(`node "${strapiBin}" uninstall ${plugin}`);
|
||||
|
||||
ctx.send({ ok: true });
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user