Skip to content

Commit 352df73

Browse files
author
ramalingamt
committed
Lint fixes - checked-in.
1 parent e9424e2 commit 352df73

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

packages/cubejs-backend-shared/src/env.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1613,14 +1613,14 @@ const variables: Record<string, (...args: any) => any> = {
16131613
]
16141614
),
16151615

1616-
duckdbExtensions: ({
1616+
duckdbExtensions: ({
16171617
dataSource
16181618
}: {
16191619
dataSource: string,
16201620
}) => {
16211621
const extensions = process.env[
16221622
keyByDataSource('CUBEJS_DB_DUCKDB_EXTENSIONS', dataSource)
1623-
]
1623+
];
16241624
if (extensions) {
16251625
return extensions.split(',').map(e => e.trim());
16261626
}

packages/cubejs-duckdb-driver/src/DuckDBDriver.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -138,10 +138,10 @@ export class DuckDBDriver extends BaseDriver implements DriverInterface {
138138
const extensions = getEnv('duckdbExtensions', this.config);
139139
for (const extension of extensions) {
140140
try {
141-
await execAsync('INSTALL ' + extension);
141+
await execAsync(`INSTALL ${extension}`);
142142
} catch (e) {
143143
if (this.logger) {
144-
console.error('DuckDB - error on installing ' + extension, {
144+
console.error(`DuckDB - error on installing ${extension}`, {
145145
e
146146
});
147147
}
@@ -151,10 +151,10 @@ export class DuckDBDriver extends BaseDriver implements DriverInterface {
151151
}
152152

153153
try {
154-
await execAsync('LOAD ' + extension);
154+
await execAsync(`LOAD ${extension}`);
155155
} catch (e) {
156156
if (this.logger) {
157-
console.error('DuckDB - error on loading ' + extension, {
157+
console.error(`DuckDB - error on loading ${extension}`, {
158158
e
159159
});
160160
}

0 commit comments

Comments
 (0)