File tree Expand file tree Collapse file tree 14 files changed +85
-231
lines changed
Expand file tree Collapse file tree 14 files changed +85
-231
lines changed Original file line number Diff line number Diff line change 11#!/usr/bin/env node
22
3- import childProcess = require ( 'child_process' ) ;
4- import {
5- standalone ,
6- standaloneUseShell ,
7- setStandaloneArgs ,
8- } from '../src/pact-standalone' ;
3+ import { spawnSync , standalone } from '../src/pact-standalone' ;
94
10- const args = process . argv . slice ( 2 ) ;
11- const opts = standaloneUseShell ? { shell : true } : { } ;
12- const { error, status } = childProcess . spawnSync (
5+ const { error, status } = spawnSync (
136 standalone ( ) . brokerFullPath ,
14- setStandaloneArgs ( args , standaloneUseShell ) ,
15- {
16- stdio : 'inherit' ,
17- ...opts ,
18- }
7+ process . argv . slice ( 2 )
198) ;
209if ( error ) throw error ;
2110process . exit ( status as number ) ;
Original file line number Diff line number Diff line change 11#!/usr/bin/env node
22
3- import childProcess = require ( 'child_process' ) ;
4- import {
5- standalone ,
6- standaloneUseShell ,
7- setStandaloneArgs ,
8- } from '../src/pact-standalone' ;
3+ import { spawnSync , standalone } from '../src/pact-standalone' ;
94
10- const args = process . argv . slice ( 2 ) ;
11- const opts = standaloneUseShell ? { shell : true } : { } ;
12-
13- const { error, status } = childProcess . spawnSync (
5+ const { error, status } = spawnSync (
146 standalone ( ) . messageFullPath ,
15- setStandaloneArgs ( args , standaloneUseShell ) ,
16- {
17- stdio : 'inherit' ,
18- ...opts ,
19- }
7+ process . argv . slice ( 2 )
208) ;
219if ( error ) throw error ;
2210process . exit ( status as number ) ;
Original file line number Diff line number Diff line change 11#!/usr/bin/env node
22
3- import childProcess = require ( 'child_process' ) ;
4- import {
5- standalone ,
6- standaloneUseShell ,
7- setStandaloneArgs ,
8- } from '../src/pact-standalone' ;
3+ import { spawnSync , standalone } from '../src/pact-standalone' ;
94
10- const args = process . argv . slice ( 2 ) ;
11- const opts = standaloneUseShell ? { shell : true } : { } ;
12-
13- const { error, status } = childProcess . spawnSync (
5+ const { error, status } = spawnSync (
146 standalone ( ) . mockServerFullPath ,
15- setStandaloneArgs ( args , standaloneUseShell ) ,
16- {
17- stdio : 'inherit' ,
18- ...opts ,
19- }
7+ process . argv . slice ( 2 )
208) ;
219if ( error ) throw error ;
2210process . exit ( status as number ) ;
Original file line number Diff line number Diff line change 11#!/usr/bin/env node
22
3- import childProcess = require ( 'child_process' ) ;
4- import {
5- standalone ,
6- standaloneUseShell ,
7- setStandaloneArgs ,
8- } from '../src/pact-standalone' ;
3+ import { spawnSync , standalone } from '../src/pact-standalone' ;
94
10- const args = process . argv . slice ( 2 ) ;
11- const opts = standaloneUseShell ? { shell : true } : { } ;
12-
13- const { error, status } = childProcess . spawnSync (
5+ const { error, status } = spawnSync (
146 standalone ( ) . mockServiceFullPath ,
15- setStandaloneArgs ( args , standaloneUseShell ) ,
16- {
17- stdio : 'inherit' ,
18- ...opts ,
19- }
7+ process . argv . slice ( 2 )
208) ;
219if ( error ) throw error ;
2210process . exit ( status as number ) ;
Original file line number Diff line number Diff line change 11#!/usr/bin/env node
22
3- import childProcess = require ( 'child_process' ) ;
4- import {
5- standalone ,
6- standaloneUseShell ,
7- setStandaloneArgs ,
8- } from '../src/pact-standalone' ;
3+ import { spawnSync , standalone } from '../src/pact-standalone' ;
94
10- const args = process . argv . slice ( 2 ) ;
11- const opts = standaloneUseShell ? { shell : true } : { } ;
12-
13- const { error, status } = childProcess . spawnSync (
5+ const { error, status } = spawnSync (
146 standalone ( ) . pluginFullPath ,
15- setStandaloneArgs ( args , standaloneUseShell ) ,
16- {
17- stdio : 'inherit' ,
18- ...opts ,
19- }
7+ process . argv . slice ( 2 )
208) ;
219if ( error ) throw error ;
2210process . exit ( status as number ) ;
Original file line number Diff line number Diff line change 11#!/usr/bin/env node
22
3- import childProcess = require ( 'child_process' ) ;
4- import {
5- standalone ,
6- standaloneUseShell ,
7- setStandaloneArgs ,
8- } from '../src/pact-standalone' ;
3+ import { spawnSync , standalone } from '../src/pact-standalone' ;
94
10- const args = process . argv . slice ( 2 ) ;
11- const opts = standaloneUseShell ? { shell : true } : { } ;
12-
13- const { error, status } = childProcess . spawnSync (
5+ const { error, status } = spawnSync (
146 standalone ( ) . verifierFullPath ,
15- setStandaloneArgs ( args , standaloneUseShell ) ,
16- {
17- stdio : 'inherit' ,
18- ...opts ,
19- }
7+ process . argv . slice ( 2 )
208) ;
219if ( error ) throw error ;
2210process . exit ( status as number ) ;
Original file line number Diff line number Diff line change 11#!/usr/bin/env node
22
3- import childProcess = require ( 'child_process' ) ;
4- import {
5- standalone ,
6- standaloneUseShell ,
7- setStandaloneArgs ,
8- } from '../src/pact-standalone' ;
3+ import { spawnSync , standalone } from '../src/pact-standalone' ;
94
10- const args = process . argv . slice ( 2 ) ;
11- const opts = standaloneUseShell ? { shell : true } : { } ;
12-
13- const { error, status } = childProcess . spawnSync (
5+ const { error, status } = spawnSync (
146 standalone ( ) . stubServerFullPath ,
15- setStandaloneArgs ( args , standaloneUseShell ) ,
16- {
17- stdio : 'inherit' ,
18- ...opts ,
19- }
7+ process . argv . slice ( 2 )
208) ;
219if ( error ) throw error ;
2210process . exit ( status as number ) ;
Original file line number Diff line number Diff line change 11#!/usr/bin/env node
22
3- import childProcess = require ( 'child_process' ) ;
4- import {
5- standalone ,
6- standaloneUseShell ,
7- setStandaloneArgs ,
8- } from '../src/pact-standalone' ;
3+ import { spawnSync , standalone } from '../src/pact-standalone' ;
94
10- const args = process . argv . slice ( 2 ) ;
11- const opts = standaloneUseShell ? { shell : true } : { } ;
12-
13- const { error, status } = childProcess . spawnSync (
14- standalone ( ) . stubFullPath ,
15- setStandaloneArgs ( args , standaloneUseShell ) ,
16- {
17- stdio : 'inherit' ,
18- ...opts ,
19- }
5+ const { error, status } = spawnSync (
6+ standalone ( ) . stubServerFullPath ,
7+ process . argv . slice ( 2 )
208) ;
219if ( error ) throw error ;
2210process . exit ( status as number ) ;
Original file line number Diff line number Diff line change 11#!/usr/bin/env node
22
3- import childProcess = require ( 'child_process' ) ;
4- import {
5- standalone ,
6- standaloneUseShell ,
7- setStandaloneArgs ,
8- } from '../src/pact-standalone' ;
3+ import { spawnSync , standalone } from '../src/pact-standalone' ;
94
10- const args = process . argv . slice ( 2 ) ;
11- const opts = standaloneUseShell ? { shell : true } : { } ;
12-
13- const { error, status } = childProcess . spawnSync (
14- standalone ( ) . verifierRustFullPath ,
15- setStandaloneArgs ( args , standaloneUseShell ) ,
16- {
17- stdio : 'inherit' ,
18- ...opts ,
19- }
5+ const { error, status } = spawnSync (
6+ standalone ( ) . verifierFullPath ,
7+ process . argv . slice ( 2 )
208) ;
219if ( error ) throw error ;
2210process . exit ( status as number ) ;
Original file line number Diff line number Diff line change 11#!/usr/bin/env node
22
3- import childProcess = require ( 'child_process' ) ;
4- import {
5- standalone ,
6- standaloneUseShell ,
7- setStandaloneArgs ,
8- } from '../src/pact-standalone' ;
3+ import { spawnSync , standalone } from '../src/pact-standalone' ;
94
10- const args = process . argv . slice ( 2 ) ;
11- const opts = standaloneUseShell ? { shell : true } : { } ;
12-
13- const { error, status } = childProcess . spawnSync (
5+ const { error, status } = spawnSync (
146 standalone ( ) . pactFullPath ,
15- setStandaloneArgs ( args , standaloneUseShell ) ,
16- {
17- stdio : 'inherit' ,
18- ...opts ,
19- }
7+ process . argv . slice ( 2 )
208) ;
219if ( error ) throw error ;
2210process . exit ( status as number ) ;
You can’t perform that action at this time.
0 commit comments