jsir 2.0.9 → 2.1.1

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/oaa.js +2 -4
  2. package/package.json +1 -1
package/cmd/oaa.js CHANGED
@@ -902,14 +902,12 @@ const keywordDef = {
902
902
  if (r[1]) {
903
903
  try {
904
904
  requireG(evalVal(r[1]))
905
- } catch (e) {
906
- error(e)
907
- }
905
+ } catch (e) {}
908
906
  }
909
907
  });
910
908
  regEach(text, /\$import\s*\(([^()]+)\)/g, r=> {
911
909
  if (r[1]) {
912
- importG(evalVal(r[1])).catch(e => error(e))
910
+ importG(evalVal(r[1]))
913
911
  }
914
912
  });
915
913
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jsir",
3
- "version": "2.0.9",
3
+ "version": "2.1.1",
4
4
  "description": "js script manager tool",
5
5
  "main": "index.js",
6
6
  "scripts": {