Skip to content

Commit

Permalink
Update script/validate-wasm-grammar-prs.js
Browse files Browse the repository at this point in the history
Co-authored-by: DeeDeeG <DeeDeeG@users.noreply.github.com>
  • Loading branch information
confused-Techie and DeeDeeG authored Oct 17, 2023
1 parent 5b0093f commit 88aaaca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion script/validate-wasm-grammar-prs.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ for (const wasmFile of wasmFilesChanged) {
// This can fail for two major reasons
// 1. It actually failed
// 2. This is a new file, and it failed to find an earlier one that didn't exist
// So that we don't faile brand new TreeSitter grammars, we manually check for number 2
// So that we don't fail brand new TreeSitter grammars, we manually check for number 2

if (getPrevFile.stderr.toString().includes("exists on disk, but not in")) {
// Looks like this file is new. Skip this check
Expand Down

0 comments on commit 88aaaca

Please sign in to comment.