diff --git a/src/can-deploy.ts b/src/can-deploy.ts index 66c673d5..dc2e4105 100644 --- a/src/can-deploy.ts +++ b/src/can-deploy.ts @@ -99,7 +99,7 @@ export class CanDeploy { const canDeployPromise = new Promise( (resolve, reject) => { const instance = spawn.spawnBinary( - pactStandalone.brokerPath, + pactStandalone.brokerFullPath, [ { cliVerb: 'can-i-deploy' }, ...CanDeploy.convertForSpawnBinary(this.options), diff --git a/src/message.ts b/src/message.ts index 0bbc181a..8fb7defb 100644 --- a/src/message.ts +++ b/src/message.ts @@ -82,7 +82,7 @@ export class Message { const { pactFileWriteMode, content, ...restOptions } = this.options; const instance = spawn.spawnBinary( - pactStandalone.messagePath, + pactStandalone.messageFullPath, [{ pactFileWriteMode }, restOptions], this.__argMapping ); diff --git a/src/publisher.ts b/src/publisher.ts index 143f072f..a438a4f7 100644 --- a/src/publisher.ts +++ b/src/publisher.ts @@ -101,7 +101,7 @@ export class Publisher { return timeout( new Promise((resolve, reject) => { const instance = spawn.spawnBinary( - pactStandalone.brokerPath, + pactStandalone.brokerFullPath, [{ cliVerb: 'publish' }, this.options], this.__argMapping ); diff --git a/src/server.ts b/src/server.ts index 618c18b9..754e8c6a 100644 --- a/src/server.ts +++ b/src/server.ts @@ -64,7 +64,7 @@ export class Server extends AbstractService { } super( - pact.mockServicePath, + pact.mockServiceFullPath, options, { port: '--port', diff --git a/src/stub.ts b/src/stub.ts index a2c9ee92..8c4589d7 100644 --- a/src/stub.ts +++ b/src/stub.ts @@ -18,7 +18,7 @@ export class Stub extends AbstractService { checkTypes.assert.not.emptyArray(options.pactUrls); - super(`${pact.stubPath}`, options, { + super(pact.stubFullPath, options, { pactUrls: DEFAULT_ARG, port: '--port', host: '--host',