Oops. Adjust reference to repo name.

Signed-off-by: Tejas Kumar <tejask@spotify.com>
This commit is contained in:
Tejas Kumar
2021-05-19 10:41:08 +02:00
parent 80a2bdc0be
commit d722343942
@@ -235,7 +235,9 @@ export function createPublishGithubAction(options: {
repoName: newRepo.name,
});
} catch (e) {
throw new Error(`Failed to add branch protection to '${name}', ${e}`);
throw new Error(
`Failed to add branch protection to '${newRepo.name}', ${e}`,
);
}
ctx.output('remoteUrl', remoteUrl);