Formatted changes

pull/38/head
HarithaVattikuti 2 years ago
parent d957d85994
commit 9d31cd5322

@ -57,10 +57,12 @@ export async function validateIfReleaseIsPublished(
octokitClient: InstanceType<typeof GitHub> octokitClient: InstanceType<typeof GitHub>
): Promise<void> { ): Promise<void> {
try { try {
const {data: foundRelease} = await octokitClient.rest.repos.getReleaseByTag({ const {data: foundRelease} = await octokitClient.rest.repos.getReleaseByTag(
{
...context.repo, ...context.repo,
tag tag
}); }
);
if (foundRelease.prerelease) { if (foundRelease.prerelease) {
throw new Error( throw new Error(

Loading…
Cancel
Save