Skip to content

Commit aefaa11

Browse files
🐛 Ensure integration exists when logging
1 parent f41443b commit aefaa11

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ export const run = async () => {
3838
Goodreads,
3939
Twitter,
4040
]) {
41+
const integration = new ClassName();
4142
try {
42-
const integration = new ClassName();
4343
if (
4444
items.includes(integration.name) &&
4545
config("integrations")[integration.name].frequency === "daily"

0 commit comments

Comments
 (0)