Skip to content

Commit

Permalink
lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
k-anshul committed Dec 14, 2023
1 parent 503f33b commit 499df49
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion runtime/drivers/duckdb/duckdb.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ var spec = drivers.Spec{
ConfigProperties: []drivers.PropertySchema{
{

Check failure on line 63 in runtime/drivers/duckdb/duckdb.go

View workflow job for this annotation

GitHub Actions / lint

File is not `gci`-ed with --skip-generated -s standard -s default -s blank -s dot --custom-order (gci)
Key: "dsn",
Secret: true,
},
},
}
Expand Down
2 changes: 1 addition & 1 deletion web-common/src/features/sources/sourceUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export function compileCreateSourceYAML(
delete values.table;
break;
case "duckdb":
var db = values.db as string;
let db = values.db as string;

Check failure on line 43 in web-common/src/features/sources/sourceUtils.ts

View workflow job for this annotation

GitHub Actions / build

Unexpected lexical declaration in case block

Check failure on line 43 in web-common/src/features/sources/sourceUtils.ts

View workflow job for this annotation

GitHub Actions / build

'db' is never reassigned. Use 'const' instead
if (db.startsWith("md:")) {
connectorName = "motherduck";
values.db = db.replace("md:", "");
Expand Down

0 comments on commit 499df49

Please sign in to comment.