Skip to content

Commit 894c062

Browse files
committed
chore: trigger CI
1 parent 1da1a08 commit 894c062

2 files changed

Lines changed: 7 additions & 7 deletions

File tree

app/tasks/gh-desktop-release-notification/upsertSlackMessage.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@ const isTestEnv = process.env.NODE_ENV === "test" || process.env.CI === "true" |
1515

1616
const SlackChannelIdsCache = isTestEnv
1717
? new Keyv<string>()
18-
: new Keyv<string>(new KeyvSqlite("sqlite://" + COMFY_PR_CACHE_DIR + "/slackChannelIdCache.sqlite"));
18+
: new Keyv<string>(
19+
new KeyvSqlite("sqlite://" + COMFY_PR_CACHE_DIR + "/slackChannelIdCache.sqlite"),
20+
);
1921
const SlackUserIdsCache = isTestEnv
2022
? new Keyv<string>()
2123
: new Keyv<string>(new KeyvSqlite("sqlite://" + COMFY_PR_CACHE_DIR + "/slackUserIdCache.sqlite"));

lib/index.ts

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,10 @@ export const github = KeyvCacheProxy({
3232
);
3333

3434
export const notion = KeyvCacheProxy({
35-
store: globalThisCached(
36-
"notion",
37-
() =>
38-
isTestEnv
39-
? new Keyv()
40-
: new Keyv(KeyvNest(new Map(), new KeyvSqlite("./.cache/notion.sqlite"))),
35+
store: globalThisCached("notion", () =>
36+
isTestEnv
37+
? new Keyv()
38+
: new Keyv(KeyvNest(new Map(), new KeyvSqlite("./.cache/notion.sqlite"))),
4139
),
4240
prefix: "notion.",
4341
onFetched: (key, val) => {

0 commit comments

Comments
 (0)