xjs-common 9.0.1 → 9.0.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.
@@ -219,7 +219,7 @@ class HttpResolverContext {
219
219
  }
220
220
  catch (e) {
221
221
  if (e instanceof xjs_err_1.XjsErr)
222
- throw e;
222
+ reject(e);
223
223
  else {
224
224
  this.error(e);
225
225
  reject(new xjs_err_1.XjsErr(s_errCode, "Failed to download a file."));
@@ -264,7 +264,7 @@ class HttpResolverContext {
264
264
  const pathArray = opPath.split("/");
265
265
  pathArray.pop();
266
266
  if (!u_file_1.UFile.exists(pathArray))
267
- throw new xjs_err_1.XjsErr(s_errCode, "Directory of the download path was not found.");
267
+ throw new xjs_err_1.XjsErr(s_errCode, "Directory of the download file was not found.");
268
268
  return opPath;
269
269
  }
270
270
  if (st.isDirectory()) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "xjs-common",
3
- "version": "9.0.1",
3
+ "version": "9.0.2",
4
4
  "description": "library modules for nodejs + typescript that bundled general-purpose implementations.",
5
5
  "repository": {
6
6
  "type": "git",