make-dev-fast
Advanced tools
Comparing version 0.2.20 to 0.2.21
@@ -259,3 +259,2 @@ var __create = Object.create; | ||
async handleCommitDo() { | ||
const preCommitId = await (0, import_utils.exec)(`git rev-parse HEAD`); | ||
await this.handleAddDo(); | ||
@@ -290,5 +289,9 @@ const st = await (0, import_utils.exec)(`git status`); | ||
await (0, import_utils.exec)(`git commit -m '${type}: ${message}'`); | ||
const currentCommitId = await (0, import_utils.exec)(`git rev-parse HEAD`); | ||
const lines = await (0, import_utils.exec)(`git log ${preCommitId}..${currentCommitId} --numstat`); | ||
await this.report(lines); | ||
try { | ||
const preCommitId = await (0, import_utils.exec)(`git rev-parse HEAD`); | ||
const currentCommitId = await (0, import_utils.exec)(`git rev-parse HEAD`); | ||
const lines = await (0, import_utils.exec)(`git log ${preCommitId}..${currentCommitId} --numstat`); | ||
await this.report(lines); | ||
} catch (e) { | ||
} | ||
} | ||
@@ -295,0 +298,0 @@ async handlePushDo() { |
{ | ||
"name": "make-dev-fast", | ||
"version": "0.2.20", | ||
"version": "0.2.21", | ||
"description": "make-dev-fast", | ||
@@ -5,0 +5,0 @@ "main": "./dist/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
39814
1044