@applitools/eyes 1.29.0 → 1.29.1
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/CHANGELOG.md +7 -0
- package/dist/cli/load-config.js +5 -5
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [1.29.1](https://github.com/Applitools-Dev/sdk/compare/js/eyes@1.29.0...js/eyes@1.29.1) (2024-11-29)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* offline cli chalk error ([c7c659a](https://github.com/Applitools-Dev/sdk/commit/c7c659aa889080f2fc7763152db2447211fe1487))
|
|
9
|
+
|
|
3
10
|
## [1.29.0](https://github.com/Applitools-Dev/sdk/compare/js/eyes@1.28.0...js/eyes@1.29.0) (2024-11-29)
|
|
4
11
|
|
|
5
12
|
|
package/dist/cli/load-config.js
CHANGED
|
@@ -31,7 +31,7 @@ exports.loadConfig = void 0;
|
|
|
31
31
|
const utils = __importStar(require("@applitools/utils"));
|
|
32
32
|
const path_1 = __importDefault(require("path"));
|
|
33
33
|
const fs_1 = __importDefault(require("fs"));
|
|
34
|
-
const
|
|
34
|
+
const chalk_1 = __importDefault(require("chalk"));
|
|
35
35
|
async function loadConfig(configPath) {
|
|
36
36
|
const configPathArr = configPath ? [configPath] : [];
|
|
37
37
|
const paths = configPathArr.concat(['applitools.config.js']);
|
|
@@ -57,15 +57,15 @@ async function loadConfig(configPath) {
|
|
|
57
57
|
config = await import(foundPath);
|
|
58
58
|
}
|
|
59
59
|
catch (err) {
|
|
60
|
-
console.warn(
|
|
60
|
+
console.warn(chalk_1.default.yellow(err.message));
|
|
61
61
|
}
|
|
62
62
|
}
|
|
63
63
|
else {
|
|
64
|
-
console.warn(
|
|
64
|
+
console.warn(chalk_1.default.yellow('Could not find configuration file.'));
|
|
65
65
|
}
|
|
66
66
|
}
|
|
67
|
-
else {
|
|
68
|
-
console.warn(
|
|
67
|
+
else if (configPath) {
|
|
68
|
+
console.warn(chalk_1.default.yellow(`${err.message}. configPath: ${path_1.default.resolve(process.cwd(), configPath)}`));
|
|
69
69
|
}
|
|
70
70
|
}
|
|
71
71
|
return config;
|