Skip to content

Commit 23b254d

Browse files
committed
fixed the lint fail issue
1 parent 1014871 commit 23b254d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/cubejs-schema-compiler/src/adapter/SqliteQuery.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@ const GRANULARITY_TO_INTERVAL = {
1111
second: (date) => `strftime('%Y-%m-%dT%H:%M:%S.000', ${date})`,
1212
month: (date) => `strftime('%Y-%m-01T00:00:00.000', ${date})`,
1313
year: (date) => `strftime('%Y-01-01T00:00:00.000', ${date})`,
14-
quarter: (date) =>
15-
`CASE
14+
quarter: (date) => `CASE
1615
WHEN cast(strftime('%m', ${date}) as integer) BETWEEN 1 AND 3 THEN strftime('%Y-01-01T00:00:00.000', ${date})
1716
WHEN cast(strftime('%m', ${date}) as integer) BETWEEN 4 AND 6 THEN strftime('%Y-04-01T00:00:00.000', ${date})
1817
WHEN cast(strftime('%m', ${date}) as integer) BETWEEN 7 AND 9 THEN strftime('%Y-07-01T00:00:00.000', ${date})

0 commit comments

Comments
 (0)