testdriverai 4.0.5 → 4.0.6
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.
package/lib/commands.js
CHANGED
|
@@ -7,7 +7,7 @@ const keymap = require('./keymap');
|
|
|
7
7
|
const { focusApplication } = require('./focus-application');
|
|
8
8
|
const fs = require('fs').promises; // Using the promises version for async operations
|
|
9
9
|
const robot = require('robotjs');
|
|
10
|
-
const { findTemplateImage } = require('
|
|
10
|
+
const { findTemplateImage } = require('./subimage/index')
|
|
11
11
|
const { cwd } = require("node:process");
|
|
12
12
|
const path = require('path');
|
|
13
13
|
const Jimp = require("jimp");
|
package/lib/init.js
CHANGED
|
@@ -118,7 +118,7 @@ module.exports = async () => {
|
|
|
118
118
|
const directory = await decompress(resolvedPath, process.cwd(), {
|
|
119
119
|
strip: 1,
|
|
120
120
|
filter: (file) => {
|
|
121
|
-
let pass = file.path.startsWith('
|
|
121
|
+
let pass = file.path.startsWith('testdriver') || file.path.startsWith('.github');
|
|
122
122
|
if (pass) {
|
|
123
123
|
console.log(chalk.dim(`Writing ${file.path}`))
|
|
124
124
|
}
|
|
File without changes
|
package/package.json
CHANGED
|
File without changes
|