Correct plugin project type checking
This commit is contained in:
parent
f720438bdb
commit
26c81e3803
@ -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 &&
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user