testdriverai 4.0.13 → 4.0.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.js +3 -2
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -72,8 +72,8 @@ let getArgs = () => {
72
72
  }
73
73
 
74
74
  // turn args[file] into local path
75
- if (args[file] && args[file].indexOf('/') == -file) {
76
- args[file] = `${__dirname}/${args[file]}`
75
+ if (args[file]) {
76
+ args[file] = `${process.cwd()}/${args[file]}`
77
77
  if (!args[file].endsWith('.yml')) {
78
78
  args[file] += '.yml';
79
79
  }
@@ -88,6 +88,7 @@ const thisFile = a.file;
88
88
  const thisCommand = a.command;
89
89
 
90
90
  log.log('info', chalk.green(`Howdy! I'm TestDriver v${package.version}`))
91
+ log.log('info', chalk.dim(`Working on ${thisFile}`))
91
92
  console.log('')
92
93
  log.log('info', `Join our Discord for help`);
93
94
  log.log('info', chalk.yellow(`https://discord.com/invite/cWDFW8DzPm`));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "testdriverai",
3
- "version": "4.0.13",
3
+ "version": "4.0.14",
4
4
  "description": "Next generation autonomous AI agent for end-to-end testing of web & desktop",
5
5
  "main": "index.js",
6
6
  "bin": {