build outside of dist (helps if your install is retarded)
This commit is contained in:
parent
911ffd9794
commit
ec3db3b0f2
1 changed files with 1 additions and 1 deletions
|
@ -120,7 +120,7 @@ export async function initPluginInstall(_, link: string, source: string, owner:
|
||||||
async function build(): Promise<any> {
|
async function build(): Promise<any> {
|
||||||
return new Promise((resolve, reject) => {
|
return new Promise((resolve, reject) => {
|
||||||
const proc = exec("pnpm build", {
|
const proc = exec("pnpm build", {
|
||||||
cwd: __dirname
|
cwd: join(__dirname, "..")
|
||||||
});
|
});
|
||||||
proc.once("close", async () => {
|
proc.once("close", async () => {
|
||||||
if (proc.exitCode !== 0) {
|
if (proc.exitCode !== 0) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue