Skip to content

Commit

Permalink
Merge pull request alibaba#613 from yylyingy/fix_multi_channel_package
Browse files Browse the repository at this point in the history
fix repeated inject init code when Multi-channel packaging
  • Loading branch information
zhi1ong authored Mar 3, 2020
2 parents d4c0c64 + e26fbbd commit 7889a37
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,10 @@ class ScanUtil {
if (ext.interfaceName && interfaces != null) {
interfaces.each { itName ->
if (itName == ext.interfaceName) {
ext.classList.add(name)
//fix repeated inject init code when Multi-channel packaging
if (!ext.classList.contains(name)) {
ext.classList.add(name)
}
}
}
}
Expand Down

0 comments on commit 7889a37

Please sign in to comment.