Skip to content

Commit 7ba9400

Browse files
committed
chore: fix typechecking
1 parent 680882f commit 7ba9400

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

packages/workshop-cli/src/commands/admin/launch-readiness.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ import {
1212
fetchRemoteWorkshopLessons,
1313
isDirectory,
1414
resolveMdxFile,
15-
stripEpicAiSlugSuffix,
1615
} from './workshop-content-utils.js'
1716

1817
type IssueLevel = 'error' | 'warning'

packages/workshop-cli/src/commands/cleanup.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -920,7 +920,7 @@ export async function cleanup({
920920
shouldScopeToCwdWorkshop &&
921921
workshopIdentities.length === 1
922922
) {
923-
contextWorkshop = workshopIdentities[0]
923+
contextWorkshop = workshopIdentities[0] ?? null
924924
}
925925
}
926926

0 commit comments

Comments
 (0)