Correct plugin project type checking
This commit is contained in:
parent
f720438bdb
commit
26c81e3803
@ -246,10 +246,8 @@ export const linksNags: Nag[] = [
|
|||||||
})
|
})
|
||||||
return hasAdditional
|
return hasAdditional
|
||||||
}
|
}
|
||||||
const notSourceAsDistributed = (context: NagContext) => {
|
const notSourceAsDistributed = (context: NagContext) =>
|
||||||
let project = context.project as Project & { actualProjectType: string }
|
context.project.project_type === 'mod' || context.project.project_type === 'plugin'
|
||||||
return context.project.project_type === 'mod' || project.actualProjectType === 'plugin'
|
|
||||||
}
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
isGplLicense &&
|
isGplLicense &&
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user