@arela/uploader 0.0.4 → 0.0.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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/index.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arela/uploader",
3
- "version": "0.0.4",
3
+ "version": "0.0.5",
4
4
  "description": "CLI to upload files/directories to Arela",
5
5
  "bin": {
6
6
  "arela": "./src/index.js"
package/src/index.js CHANGED
@@ -96,7 +96,7 @@ program
96
96
  let globalFailure = 0;
97
97
 
98
98
  for (const folder of sources) {
99
- const sourcePath = path.join(basePath, folder);
99
+ const sourcePath = path.resolve(basePath, folder).replace(/\\/g, '/');
100
100
  console.log(`📂 Processing folder: ${sourcePath}`);
101
101
 
102
102
  try {