opencommit 1.1.36 → 1.1.37
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/out/cli.cjs +7 -1
- package/package.json +1 -1
package/out/cli.cjs
CHANGED
|
@@ -15763,7 +15763,7 @@ function G3(t, e2) {
|
|
|
15763
15763
|
// package.json
|
|
15764
15764
|
var package_default = {
|
|
15765
15765
|
name: "opencommit",
|
|
15766
|
-
version: "1.1.
|
|
15766
|
+
version: "1.1.36",
|
|
15767
15767
|
description: "GPT CLI to auto-generate impressive commits in 1 second. Killing lame commits with AI \u{1F92F}\u{1F52B}",
|
|
15768
15768
|
keywords: [
|
|
15769
15769
|
"git",
|
|
@@ -21339,6 +21339,12 @@ ${source_default.grey("\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2
|
|
|
21339
21339
|
ce(`${source_default.green("\u2714")} successfully committed`);
|
|
21340
21340
|
ce(stdout);
|
|
21341
21341
|
const remotes = await getGitRemotes();
|
|
21342
|
+
if (!remotes.length) {
|
|
21343
|
+
const { stdout: stdout2 } = await execa("git", ["push"]);
|
|
21344
|
+
if (stdout2)
|
|
21345
|
+
ce(stdout2);
|
|
21346
|
+
process.exit(0);
|
|
21347
|
+
}
|
|
21342
21348
|
if (remotes.length === 1) {
|
|
21343
21349
|
const isPushConfirmedByUser = await Q3({
|
|
21344
21350
|
message: "Do you want to run `git push`?"
|