Skip to content

Commit 7864937

Browse files
committed
fix: rm extra single quota
1 parent b0a39dd commit 7864937

File tree

4 files changed

+11
-6
lines changed

4 files changed

+11
-6
lines changed

.github/workflows/test-actions.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
- v1
77
push:
88
branches:
9-
- v1
9+
- dev
1010
workflow_dispatch:
1111

1212
concurrency:

dist/index.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/runner.ts

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,8 +172,13 @@ export class Runner {
172172
username: os.userInfo().username,
173173
built_on: `${os.userInfo().username}@${os.hostname()}`,
174174
built_at: new Date().toLocaleString(),
175-
git_author: (await $`git show -s ${"--format='%an <%ae>'"}`).stdout,
176-
git_commit: (await $`git show -s ${"--format='%H'"}`).stdout,
175+
git_author: (
176+
await $`git show -s ${"--format='%an <%ae>'"}`
177+
).stdout.replaceAll("'", ''),
178+
git_commit: (await $`git show -s ${"--format='%H'"}`).stdout.replaceAll(
179+
"'",
180+
''
181+
),
177182
go_version: goVersion
178183
}
179184
}

0 commit comments

Comments
 (0)