MOBILE-4362 behat: Improve task error message
parent
a6eeacfd88
commit
554cef3116
|
@ -21,7 +21,9 @@ const { mkdirSync, copySync } = require('fs-extra');
|
|||
const { resolve, extname, dirname, basename, relative } = require('path');
|
||||
|
||||
async function main() {
|
||||
const pluginPath = process.argv[2] || guessPluginPath() || fail('Folder argument missing!');
|
||||
const pluginPath = process.argv[2]
|
||||
|| guessPluginPath()
|
||||
|| fail('Folder argument missing! (you can also set the MOODLE_APP_BEHAT_PLUGIN_PATH env variable)');
|
||||
const excludeFeatures = process.argv.some(arg => arg === '--exclude-features');
|
||||
const exclusions = excludeFeatures
|
||||
? [
|
||||
|
|
Loading…
Reference in New Issue