Skip to content

Commit

Permalink
Fix CI failures
Browse files Browse the repository at this point in the history
  • Loading branch information
mkruskal-google committed May 9, 2024
1 parent f265ab9 commit 74f612d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/parse.js
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ function parse(source, root, options) {
dummy,
function parseRange_block(token) {
/* istanbul ignore else */
if (token === 'option') {
if (token === "option") {
parseOption(dummy, token); // skip
skip(';');

Check warning on line 158 in src/parse.js

View workflow job for this annotation

GitHub Actions / lint

Strings must use doublequote
} else
Expand Down
4 changes: 2 additions & 2 deletions tests/data/uncommon.proto
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,11 @@ message Test2 {
extend Test;
extend Test{};
extend Test{required int32 a=1;} // not validated by the parser
extend Test{Test a=1000;} // not validated by the parser
extend Test{Test inner_ext=1000;} // not validated by the parser

extensions 1000 to 1999 [declaration = {
number: 1000
full_name: 'uncommon.Test.a'
full_name: 'uncommon.Test.inner_ext'
type: 'uncommon.Test'
}]
};
Expand Down

0 comments on commit 74f612d

Please sign in to comment.