File tree 1 file changed +7
-3
lines changed 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -46,8 +46,8 @@ func TestChildCommands(t *testing.T) {
46
46
name : "lstn in" ,
47
47
cmdline : []string {"in" },
48
48
stdout : "" ,
49
- stderr : "Running without a configuration file\n Error: directory _CWD_ does not contain a package.json file\n " ,
50
- errstr : "directory _CWD_ does not contain a package.json file" ,
49
+ stderr : "Running without a configuration file\n Error: directory _CWD_ does not contain the package-lock .json file\n " ,
50
+ errstr : "directory _CWD_ does not contain the package-lock .json file" ,
51
51
},
52
52
// lstn to
53
53
{
@@ -266,7 +266,8 @@ Examples:
266
266
lstn in sub/dir
267
267
268
268
Flags:
269
- --json output the verdicts (if any) in JSON form
269
+ --genlock whether to generate the lock file on the fly or not
270
+ --json output the verdicts (if any) in JSON form
270
271
271
272
Config Flags:
272
273
--endpoint string the listen.dev endpoint emitting the verdicts (default "https://npm.listen.dev")
@@ -299,6 +300,7 @@ Global Flags:
299
300
stdout : heredoc .Doc (`{
300
301
"debug-options": true,
301
302
"endpoint": "https://npm.listen.dev",
303
+ "genlock": false,
302
304
"gh-owner": "",
303
305
"gh-pull-id": 0,
304
306
"gh-repo": "",
@@ -331,6 +333,7 @@ Global Flags:
331
333
stdout : heredoc .Doc (`{
332
334
"debug-options": true,
333
335
"endpoint": "https://npm.listen.dev",
336
+ "genlock": false,
334
337
"gh-owner": "",
335
338
"gh-pull-id": 0,
336
339
"gh-repo": "",
@@ -363,6 +366,7 @@ Global Flags:
363
366
stdout : heredoc .Doc (`{
364
367
"debug-options": true,
365
368
"endpoint": "https://npm-staging.listen.dev",
369
+ "genlock": false,
366
370
"gh-owner": "",
367
371
"gh-pull-id": 0,
368
372
"gh-repo": "",
You can’t perform that action at this time.
0 commit comments