Skip to content

Commit f087cff

Browse files
committed
return [];
1 parent 375f3ba commit f087cff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ const getStalePulls = async (app, context, owner) => {
8383
stale_pull_cleanup: cleanupPolicy,
8484
} = getConfig(owner);
8585
if (!cleanupPolicy.enabled) {
86-
return;
86+
return [];
8787
}
8888
const duration = (cleanupPolicy.duration || '7 days').split(' ');
8989
const filterDate = sub(new Date(), { [duration[1]]: parseInt(duration[0], 10) });

0 commit comments

Comments
 (0)