File tree Expand file tree Collapse file tree
app/tasks/gh-desktop-release-notification Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -15,7 +15,9 @@ const isTestEnv = process.env.NODE_ENV === "test" || process.env.CI === "true" |
1515
1616const 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+ ) ;
1921const SlackUserIdsCache = isTestEnv
2022 ? new Keyv < string > ( )
2123 : new Keyv < string > ( new KeyvSqlite ( "sqlite://" + COMFY_PR_CACHE_DIR + "/slackUserIdCache.sqlite" ) ) ;
Original file line number Diff line number Diff line change @@ -32,12 +32,10 @@ export const github = KeyvCacheProxy({
3232) ;
3333
3434export 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 ) => {
You can’t perform that action at this time.
0 commit comments