Skip to content

Commit 7845c1a

Browse files
committed
Fix switch statement exhaustiveness check
1 parent 6ad4e80 commit 7845c1a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/dist.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ function toRedirectDist(
206206
comment.push(...source.redirect_targets.map((dest) => ` - ${dest}.yml`));
207207
break;
208208
default:
209-
source satisfies never;
209+
kind satisfies never;
210210
throw new Error(`Unhandled feature kind ${kind}}`);
211211
}
212212

0 commit comments

Comments
 (0)