Skip to content

Commit

Permalink
fix: treat com.unity.ugui as a module
Browse files Browse the repository at this point in the history
  • Loading branch information
favoyang committed Nov 15, 2020
1 parent d4b15ac commit 5c2129c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/core.js
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,9 @@ const fetchPackageDependencies = async function({ name, version, deep }) {
// create valid depedenency structure
const validDep = {
...entry,
module: /com.unity.modules/i.test(entry.name),
module:
/com.unity.modules/i.test(entry.name) ||
entry.name == "com.unity.ugui",
upstream: false,
self: entry.name == name
};
Expand Down

0 comments on commit 5c2129c

Please sign in to comment.