jsir 1.2.4 → 1.2.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/cmd/ooa.js +1 -1
  2. package/package.json +1 -1
package/cmd/ooa.js CHANGED
@@ -322,7 +322,7 @@ async function dealInitData() {
322
322
  try {
323
323
  $i[initDataName] = await evalText(text)
324
324
  } catch (e) {
325
- $log(`$i.${initDataName} loading failed\n${e.stack}`);
325
+ $log(`$i.${initDataName} loading failed\n${e.stack || e}`);
326
326
  }
327
327
  if (!vl($i[initDataName])) {
328
328
  warn(`$i.${initDataName} loading failed`)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jsir",
3
- "version": "1.2.4",
3
+ "version": "1.2.5",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {