Correct plugin project type checking

This commit is contained in:
coolbot100s 2025-07-30 00:11:54 -07:00
parent f720438bdb
commit 26c81e3803

View File

@ -246,10 +246,8 @@ export const linksNags: Nag[] = [
})
return hasAdditional
}
const notSourceAsDistributed = (context: NagContext) => {
let project = context.project as Project & { actualProjectType: string }
return context.project.project_type === 'mod' || project.actualProjectType === 'plugin'
}
const notSourceAsDistributed = (context: NagContext) =>
context.project.project_type === 'mod' || context.project.project_type === 'plugin'
return (
isGplLicense &&