Fix graph command
This commit is contained in:
parent
3cb7a7ab80
commit
f0d1664623
|
@ -47,15 +47,8 @@ if [ ! -f .cutekit/tools/ready ]; then
|
|||
fi
|
||||
source .cutekit/venv/bin/activate
|
||||
|
||||
echo "Downloading CuteKit..."
|
||||
if [ ! -d .cutekit/tools/cutekit ]; then
|
||||
git clone --depth 1 https://github.com/cute-engineering/cutekit .cutekit/tools/cutekit --branch "$CUTEKIT_VERSION"
|
||||
else
|
||||
echo "CuteKit already downloaded."
|
||||
fi
|
||||
|
||||
echo "Installing Tools..."
|
||||
$CUTEKIT_PYTHON -m pip install -e .cutekit/tools/cutekit
|
||||
$CUTEKIT_PYTHON -m pip install "git+https://github.com/cute-engineering/cutekit@$CUTEKIT_VERSION"
|
||||
|
||||
echo "Installing plugins requirements..."
|
||||
if [ -f "meta/plugins/requirements.txt" ]; then
|
||||
|
|
|
@ -624,11 +624,11 @@ class Registry(DataClassJsonMixin):
|
|||
)
|
||||
else:
|
||||
victim.resolved[target.id].injected.append(c.id)
|
||||
victim.resolved[target.id].required = (
|
||||
utils.uniqPreserveOrder(
|
||||
c.resolved[target.id].required
|
||||
+ victim.resolved[target.id].required
|
||||
)
|
||||
victim.resolved[
|
||||
target.id
|
||||
].required = utils.uniqPreserveOrder(
|
||||
c.resolved[target.id].required
|
||||
+ victim.resolved[target.id].required
|
||||
)
|
||||
|
||||
# Resolve tooling
|
||||
|
@ -700,7 +700,7 @@ def view(
|
|||
if scope is not None:
|
||||
scopeInstance = registry.lookup(scope, Component)
|
||||
|
||||
for component in registry.iterEnabled(target):
|
||||
for component in registry.iter(Component):
|
||||
if not component.type == Kind.LIB and not showExe:
|
||||
continue
|
||||
|
||||
|
|
|
@ -56,5 +56,6 @@ class PluginsArgs:
|
|||
|
||||
|
||||
def setup(args: PluginsArgs):
|
||||
if not args.safemod:
|
||||
loadAll()
|
||||
if args.safemod:
|
||||
return
|
||||
loadAll()
|
||||
|
|
Loading…
Reference in a new issue