glyphix 1.0.39 → 1.0.41

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/bin/glyphix.js +5 -1
  2. package/package.json +1 -1
package/bin/glyphix.js CHANGED
@@ -297,7 +297,11 @@ var GxGenerate = class {
297
297
  });
298
298
  }
299
299
  getGitVersion() {
300
- return (0, import_node_child_process.execSync)("git rev-parse HEAD").toString().trim();
300
+ try {
301
+ return (0, import_node_child_process.execSync)("git rev-parse HEAD").toString().trim();
302
+ } catch (err) {
303
+ return "not git version";
304
+ }
301
305
  }
302
306
  build() {
303
307
  const curDir = process.cwd();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "glyphix",
3
- "version": "1.0.39",
3
+ "version": "1.0.41",
4
4
  "main": "lib/index.js",
5
5
  "types": "types/index.d.ts",
6
6
  "files": [