chore: update dev dependencies and workflow

Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
CrazyMax committed 2022-03-21 13:43:41 +01:00
1 parent c62171c994
commit 2e23606dc9
21 files changed
+2134 -16276

No files matched your search

+1 -1
View File
@@ -10,7 +10,7 @@ export async function getRemoteSha(repo: string, ref: string): Promise<string> {
if (res.stderr.length > 0 && res.exitCode != 0) {
throw new Error(res.stderr);
}
const [rsha, rref] = res.stdout.trim().split(/[\s\t]/);
const [rsha] = res.stdout.trim().split(/[\s\t]/);
if (rsha.length == 0) {
throw new Error(`Cannot find remote ref for ${repo}#${ref}`);
}