@cyberalien/git-utils
Advanced tools
@@ -22,6 +22,3 @@ import { execAsync } from "../misc/exec.js"; | ||
| } | ||
| if (push) { | ||
| const pushResult = await execAsync(`git push origin "${await getCurrentGitBranch(target)}"`, { cwd: target }); | ||
| console.log("pushResult:", pushResult.stdout); | ||
| } | ||
| if (push) await execAsync(`git push origin "${await getCurrentGitBranch(target)}"`, { cwd: target }); | ||
| } catch { | ||
@@ -28,0 +25,0 @@ return false; |
@@ -7,3 +7,3 @@ import { GitRepoConfig } from "./types.js"; | ||
| bumpVersion?: string | ((currentVersion: string) => string); | ||
| files?: Record<string, string | object>; | ||
| files?: Record<string, string | null | Record<string, unknown> | Array<unknown>>; | ||
| commit?: string; | ||
@@ -10,0 +10,0 @@ } |
+1
-1
@@ -6,3 +6,3 @@ { | ||
| "author": "Vjacheslav Trushkin", | ||
| "version": "0.0.4", | ||
| "version": "0.0.5", | ||
| "license": "UNLICENSED", | ||
@@ -9,0 +9,0 @@ "bugs": "https://github.com/cyberalien/svg-utils/issues", |
13597
-0.27%388
-0.77%