From c3bc9a06bedf4e6b16324b0f8c9f25e5d7c8de7e Mon Sep 17 00:00:00 2001 From: Yousaf Nabi Date: Wed, 26 Jun 2024 00:22:54 +0100 Subject: [PATCH] fix: use full path to pactflow binary as it may be invoked from anywhere via npx --- bin/pactflow.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/pactflow.ts b/bin/pactflow.ts index fddc26f..32b675b 100644 --- a/bin/pactflow.ts +++ b/bin/pactflow.ts @@ -11,7 +11,7 @@ const args = process.argv.slice(2); const opts = standaloneUseShell ? { shell: true } : {}; const { error, status } = childProcess.spawnSync( - standalone().pactflowPath, + standalone().pactflowFullPath, setStandaloneArgs(args, standaloneUseShell), { stdio: 'inherit',