Fix bug in cli preventing npm-only run
All checks were successful
continuous-integration/appveyor/branch AppVeyor build succeeded
All checks were successful
continuous-integration/appveyor/branch AppVeyor build succeeded
This commit is contained in:
parent
264364a152
commit
18f9806135
2 changed files with 2 additions and 2 deletions
2
cli.mjs
2
cli.mjs
|
@ -54,7 +54,7 @@ cli.parseOptions(args)
|
|||
})
|
||||
.catch(function(err) { showErrorAndExit('Unknown error while processing arguments', err) })
|
||||
.then(function() {
|
||||
if (!cli.files.length) {
|
||||
if (!cli.files.length && cli.run === 'test') {
|
||||
showErrorAndExit('No files were found with pattern', cli.targets.join(','))
|
||||
}
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "eltro",
|
||||
"version": "1.4.1",
|
||||
"version": "1.4.2",
|
||||
"description": "Eltro is a tiny no-dependancy test framework for node",
|
||||
"main": "index.mjs",
|
||||
"scripts": {
|
||||
|
|
Loading…
Reference in a new issue