Skip to content

Commit a89e649

Browse files
committed
fix
1 parent 5e9ef85 commit a89e649

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/rust.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ jobs:
9797
cache-provider: "github"
9898

9999
- name: Run clippy
100-
run: cargo clippy
100+
run: cargo clippy --all-targets --all-features -- -D warnings
101101

102102
- name: Run rustfmt
103103
run: cargo fmt -- --check

src/ts_generator/errors.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,9 @@ pub enum TsGeneratorError {
4444
InsertStatementProcessingFailed { reason: String, query: String },
4545
#[error("[E018] Failed to process UPDATE statement: {reason}. Query: `{query}`")]
4646
UpdateStatementProcessingFailed { reason: String, query: String },
47-
#[error("[E018] Table '{table}' not found in database schema. Check that the table exists and is accessible.")]
47+
#[error("[E019] Table '{table}' not found in database schema. Check that the table exists and is accessible.")]
4848
TableNotFoundInSchema { table: String },
49-
#[error("[E019] Failed to infer table name while processing WHERE clause. Query: `{query}`")]
49+
#[error("[E020] Failed to infer table name while processing WHERE clause. Query: `{query}`")]
5050
TableNameInferenceFailedInWhere { query: String },
5151
#[error("Unknown error: `{0}`")]
5252
Unknown(String),

0 commit comments

Comments
 (0)