Skip to content

Commit a722e60

Browse files
committed
formatting
1 parent 461077a commit a722e60

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

definitions/output/reports/reports_dynamic.js

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,17 +12,19 @@ SELECT
1212
* EXCEPT(date)
1313
FROM ${ctx.self()}
1414
WHERE date = '${params.date}'
15-
`} else if (sql.type === 'timeseries') {
15+
`
16+
} else if (sql.type === 'timeseries') {
1617
query = `
1718
SELECT
1819
FORMAT_DATE('%Y_%m_%d', date) AS date,
1920
* EXCEPT(date)
2021
FROM ${ctx.self()}
21-
`} else {
22+
`
23+
} else {
2224
throw new Error('Unknown SQL type')
2325
}
2426

25-
const queryOutput = query.replace(/[\r\n]+/g, ' ');
27+
const queryOutput = query.replace(/[\r\n]+/g, ' ')
2628
return queryOutput
2729
}
2830

0 commit comments

Comments
 (0)