diff --git a/lib/linguist/generated.rb b/lib/linguist/generated.rb index c75bf79399..4f747115c6 100644 --- a/lib/linguist/generated.rb +++ b/lib/linguist/generated.rb @@ -829,7 +829,7 @@ def extract_html_meta(match) # Internal: Is this a generated SQLx query file? # - # SQLx is a Rust SQL library which generates `**/.sqlx/queries-*.json` files + # SQLx is a Rust SQL library which generates `**/.sqlx/query-*.json` files # in offline mode (enabled by default). # # These are used to be able to compile a project without requiring @@ -837,7 +837,7 @@ def extract_html_meta(match) # # Returns true or false. def generated_sqlx_query? - !!name.match(/^.*\.sqlx\/queries-.+\.json$/) + !!name.match(/^.*\.sqlx\/query-.+\.json$/) end end end