@amanat-qa/utils-frontend 5.1.3 → 5.1.5

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.
@@ -4,6 +4,10 @@ var JSONLoader;
4
4
  try {
5
5
  JSONLoader = require('../../../../../main/utils/data/JSONLoader');
6
6
  } catch (e) {
7
- throw new Error('[err] JSONLoader require error!');
7
+ try {
8
+ JSONLoader = require('../../../../../../../../main/utils/data/JSONLoader');
9
+ } catch (e) {
10
+ throw new Error('[err] JSONLoader require error!');
11
+ }
8
12
  }
9
13
  module.exports = JSONLoader;
@@ -60,9 +60,6 @@ var generateJSONLoader = function generateJSONLoader(filePath, directory) {
60
60
  fs.writeFileSync(filePath, classInit + suitesNames + classExport);
61
61
  };
62
62
  var setConfigData = function setConfigData(directory, extension) {
63
- console.log('envDirectory: ', envDirectory);
64
- console.log('loaderFileLocation: ', loaderFileLocation);
65
- console.log('process.cwd(): ', process.cwd());
66
63
  var files = _getFiles(directory, extension);
67
64
  var configFile = files.filter(function (file) {
68
65
  return file.includes('config');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@amanat-qa/utils-frontend",
3
- "version": "5.1.3",
3
+ "version": "5.1.5",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },