Skip to content

Commit

Permalink
Ruby: Whitespace change to bust extractor cache
Browse files Browse the repository at this point in the history
  • Loading branch information
hmac committed Mar 23, 2023
1 parent 6d50ed5 commit 0fc65dc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ruby/extractor/src/bin/extractor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -280,8 +280,10 @@ fn scan_erb(
}
}
}

if result.is_empty() {
let root = tree.root_node();

// Add an empty range at the end of the file
result.push(Range {
start_byte: root.end_byte(),
Expand Down

0 comments on commit 0fc65dc

Please sign in to comment.