@uniformdev/cli 19.86.1-alpha.11 → 19.86.1-alpha.12

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/dist/index.mjs +5 -4
  2. package/package.json +8 -8
package/dist/index.mjs CHANGED
@@ -801,11 +801,12 @@ var extractAndUploadUniformFilesForObject = async (object, options) => {
801
801
  return;
802
802
  }
803
803
  const localFileName = urlToFileName(url);
804
- const fileExistsLocally = await fsj.existsAsync(
805
- join2(writeDirectory, FILES_DIRECTORY_NAME, localFileName)
806
- );
804
+ const expectedFilePath = join2(writeDirectory, FILES_DIRECTORY_NAME, localFileName);
805
+ const fileExistsLocally = await fsj.existsAsync(expectedFilePath);
807
806
  if (!fileExistsLocally) {
808
- console.warn(`Skipping file ${url} as we couldn't find a local copy`);
807
+ console.warn(
808
+ `Skipping file ${url} as we couldn't find a local copy (looked at ${expectedFilePath})`
809
+ );
809
810
  return;
810
811
  }
811
812
  const fileBuffer = await fsj.readAsync(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniformdev/cli",
3
- "version": "19.86.1-alpha.11+cb2b44bdd",
3
+ "version": "19.86.1-alpha.12+269e1d3d8",
4
4
  "description": "Uniform command line interface tool",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "main": "./cli.js",
@@ -17,12 +17,12 @@
17
17
  },
18
18
  "dependencies": {
19
19
  "@thi.ng/mime": "^2.2.23",
20
- "@uniformdev/assets": "19.86.1-alpha.11+cb2b44bdd",
21
- "@uniformdev/canvas": "19.86.1-alpha.11+cb2b44bdd",
22
- "@uniformdev/context": "19.86.1-alpha.11+cb2b44bdd",
23
- "@uniformdev/files": "19.86.1-alpha.11+cb2b44bdd",
24
- "@uniformdev/project-map": "19.86.1-alpha.11+cb2b44bdd",
25
- "@uniformdev/redirect": "19.86.1-alpha.11+cb2b44bdd",
20
+ "@uniformdev/assets": "19.86.1-alpha.12+269e1d3d8",
21
+ "@uniformdev/canvas": "19.86.1-alpha.12+269e1d3d8",
22
+ "@uniformdev/context": "19.86.1-alpha.12+269e1d3d8",
23
+ "@uniformdev/files": "19.86.1-alpha.12+269e1d3d8",
24
+ "@uniformdev/project-map": "19.86.1-alpha.12+269e1d3d8",
25
+ "@uniformdev/redirect": "19.86.1-alpha.12+269e1d3d8",
26
26
  "call-bind": "^1.0.2",
27
27
  "colorette": "2.0.20",
28
28
  "cosmiconfig": "8.3.6",
@@ -69,5 +69,5 @@
69
69
  "publishConfig": {
70
70
  "access": "public"
71
71
  },
72
- "gitHead": "cb2b44bdd700124c26e17f1840dbb6049030af81"
72
+ "gitHead": "269e1d3d882fbfbef93721434d142475c32a5891"
73
73
  }