mirror of
https://gitea.com/docker/setup-buildx-action.git
synced 2025-07-19 17:38:01 +08:00
chore: update dev dependencies and workflow
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
@@ -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}`);
|
||||
}
|
||||
|
Reference in New Issue
Block a user