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.
- package/bin/glyphix.js +5 -1
- 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
|
-
|
|
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();
|