Skip to content

Commit 5d695d9

Browse files
Optimize issues check
1 parent f6e7c5f commit 5d695d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/expand_module_list_with_repo_data.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ async function addInformationFromPackageJson (moduleList) {
123123
module.issues.push("There are no keywords in 'package.json'. We would use them as tags on the module list page.");
124124
}
125125

126-
if (moduleData.bugs && moduleData.bugs.url && moduleData.bugs.url.includes("github.com") && module.hasGithubIssues === false) {
126+
if (module.url.includes("github.com") && module.hasGithubIssues === false) {
127127
module.issues.push("Issues are not enabled in the GitHub repository. So users cannot report bugs. Please enable issues in your repo.");
128128
}
129129
} catch (error) {

0 commit comments

Comments
 (0)