@ejfdelgado/ejflab-back 1.27.1 → 1.27.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ejfdelgado/ejflab-back",
3
- "version": "1.27.1",
3
+ "version": "1.27.2",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/ejfdelgado/ejflab-back.git"
@@ -106,7 +106,9 @@ export class MainHandler {
106
106
  if (rootFolder) {
107
107
  options.push(path.join(rootFolder, filename));
108
108
  }
109
- options.push(path.join(MainHandler.LOCAL_FOLDER1, filename));
109
+ if (process.env.ENV != "pro") {
110
+ options.push(path.join(MainHandler.LOCAL_FOLDER1, filename));
111
+ }
110
112
  options.push(path.join(MainHandler.LOCAL_FOLDER, filename));
111
113
 
112
114
  // Check which exists first, if not resolve null with log
@@ -122,6 +124,7 @@ export class MainHandler {
122
124
  if (!selected) {
123
125
  console.log(`Files not found ${options}`);
124
126
  resolve(null);
127
+ return;
125
128
  }
126
129
 
127
130
  const somePath = selected;