File tree 1 file changed +6
-14
lines changed
1 file changed +6
-14
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,6 @@ import colors from 'colors/safe'
7
7
import fs from 'fs'
8
8
import path from 'path'
9
9
import VError from 'verror'
10
- import _ from 'lodash'
11
10
import ndjsonParse from 'ndjson-parse'
12
11
import { messages } from '@cucumber/messages'
13
12
@@ -35,19 +34,12 @@ export class World {
35
34
36
35
async run ( executablePath : string , inputArgs : string [ ] ) : Promise < void > {
37
36
const messageFilename = 'message.ndjson'
38
- const args = [ 'node' , executablePath ]
39
- . concat ( inputArgs , [
40
- '--backtrace' ,
41
- '--predictable-ids' ,
42
- '--format' ,
43
- `message:${ messageFilename } ` ,
44
- ] )
45
- . map ( ( arg ) => {
46
- if ( _ . includes ( arg , '/' ) ) {
47
- return path . normalize ( arg )
48
- }
49
- return arg
50
- } )
37
+ const args = [ 'node' , executablePath ] . concat ( inputArgs , [
38
+ '--backtrace' ,
39
+ '--predictable-ids' ,
40
+ '--format' ,
41
+ `message:${ messageFilename } ` ,
42
+ ] )
51
43
const cwd = this . tmpDir
52
44
53
45
let result : IRunResult
You can’t perform that action at this time.
0 commit comments