fix: pm add error
This commit is contained in:
parent
50286e2c3c
commit
b8fc705df7
@ -35,10 +35,9 @@ export default (app: Application) => {
|
||||
try {
|
||||
if (started) {
|
||||
const res = await axios.get(`${baseURL}pm:add/${plugins.join(',')}`);
|
||||
console.log(res.data);
|
||||
return;
|
||||
} else {
|
||||
await app.pm.add(plugins);
|
||||
}
|
||||
await app.pm.add(plugins);
|
||||
} catch (error) {}
|
||||
const fs = require('fs/promises');
|
||||
await Promise.all(
|
||||
|
@ -0,0 +1,5 @@
|
||||
import React from 'react';
|
||||
|
||||
export default React.memo((props) => {
|
||||
return <>{props.children}</>;
|
||||
});
|
Loading…
Reference in New Issue
Block a user