@nu-art/commando 0.204.42 → 0.204.43

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/core/tools.js +2 -2
  2. package/package.json +1 -1
package/core/tools.js CHANGED
@@ -38,8 +38,8 @@ function convertToFullPath(pathToFile, assetParentPath = process.cwd()) {
38
38
  while (pathToFile.startsWith('/'))
39
39
  pathToFile = pathToFile.substring(1);
40
40
  const absolutePath = path.resolve(assetParentPath, pathToFile);
41
- if (!absolutePath.startsWith(assetParentPath))
42
- throw new Error(`Found path: '${absolutePath}' which is out of the scope of the assert directory: '${assetParentPath}'`);
41
+ // if (!absolutePath.startsWith(assetParentPath))
42
+ // throw new Error(`Found path: '${absolutePath}' which is out of the scope of the assert directory: '${assetParentPath}'`);
43
43
  return absolutePath;
44
44
  }
45
45
  exports.convertToFullPath = convertToFullPath;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nu-art/commando",
3
- "version": "0.204.42",
3
+ "version": "0.204.43",
4
4
  "description": "",
5
5
  "keywords": [
6
6
  "TacB0sS",