Skip to content

Commit 791212e

Browse files
committed
make step solution optional
Signed-off-by: shmck <[email protected]>
1 parent 5dd69ce commit 791212e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/build.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ async function build(args: string[]) {
102102
try {
103103
const valid = validateSchema(skeletonSchema, skeleton);
104104
if (!valid) {
105-
console.error("Tutorial validation failed. See above to see what to fix");
105+
console.error("Skeleton validation failed. See above to see what to fix");
106106
return;
107107
}
108108
} catch (e) {

src/schema/tutorial.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ export default {
211211
examples: ["Have you tried doing X?"],
212212
},
213213
},
214-
required: ["content", "setup", "solution"],
214+
required: ["content", "setup"],
215215
},
216216
},
217217
},

0 commit comments

Comments
 (0)