Skip to content

Commit afdde56

Browse files
committed
Small comment improvement
1 parent 1a183f4 commit afdde56

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

scripts/test-examples.mjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ glob.sync(__dirname + '/../pages/docs/manual/latest/**/*.mdx').forEach((file) =>
8181
fs.writeFileSync(tempFileName, parsedResult)
8282
try {
8383
// -109 for suppressing `Toplevel expression is expected to have unit type.`
84+
// Most doc snippets do e.g. `Belt.Array.length(["test"])`, which triggers this
8485
child_process.execFileSync(bsc, ['-i', tempFileName, '-w', '-109'], {stdio: 'pipe'})
8586
} catch (e) {
8687
process.stdout.write(postprocessOutput(file, e))

0 commit comments

Comments
 (0)