apn-app-manager 1.12.3 → 1.12.4

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": "apn-app-manager",
3
- "version": "1.12.3",
3
+ "version": "1.12.4",
4
4
  "description": "Appian App Manager",
5
5
  "license": "Apache-2.0",
6
6
  "preferGlobal": true,
package/src/cons.js CHANGED
@@ -5,7 +5,7 @@ module.exports = {
5
5
  // General paths
6
6
  curDir: path.resolve(""),
7
7
  outDir: path.resolve("./out/"),
8
- tempDir: path.resolve("./out/temp/"),
8
+ tempDir: "./out/temp/",
9
9
 
10
10
  // For cloning
11
11
  cloneAppDir: path.resolve("./application_files/"),
package/src/util.js CHANGED
@@ -381,7 +381,7 @@ function str(strings, ...keys) {
381
381
  function handleDir(dirName, filesOnly, fileTypes, levelsToParse, startAtLevel, parseLevel, callback) {
382
382
  const contents = fs.readdirSync(dirName, "utf8", true);
383
383
  contents.forEach(content => {
384
- const contentPath = path.resolve(dirName, content);
384
+ const contentPath = path.join(dirName, content);
385
385
  const isFile = fs.statSync(contentPath).isFile();
386
386
  if (!filesOnly && !isFile && startAtLevel <= parseLevel) {
387
387
  callback(contentPath);