From ca4f69424b8d27acd1b51547a477914c5d2747f6 Mon Sep 17 00:00:00 2001 From: filip mertens Date: Tue, 21 Mar 2023 13:29:21 +0100 Subject: [PATCH] cwd --- apps/remix-ide/ci/publish_plugin.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/apps/remix-ide/ci/publish_plugin.ts b/apps/remix-ide/ci/publish_plugin.ts index 57db058188..9a8ab19922 100644 --- a/apps/remix-ide/ci/publish_plugin.ts +++ b/apps/remix-ide/ci/publish_plugin.ts @@ -97,7 +97,9 @@ import * as child_process from 'child_process' process.chdir('remix-plugins-directory') // create pull request const promisifyExec = util.promisify(child_process.exec) - const out = await promisifyExec('git status') + const out = await promisifyExec('git status', { + cwd: process.cwd() + }) console.log(out) })() \ No newline at end of file