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 16659b9 commit d1f9105
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion web-common/src/features/sources/sourceUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,14 @@ export function compileCreateSourceYAML(
delete values.db;
delete values.table;
break;
case "duckdb":
case "duckdb": {
const db = values.db as string;
if (db.startsWith("md:")) {
connectorName = "motherduck";
values.db = db.replace("md:", "");
}
break;
}
}

const compiledKeyValues = Object.entries(values)
Expand Down

0 comments on commit d1f9105

Please sign in to comment.