onflow / flow-cli

The Flow CLI is a command-line interface that provides useful utilities for building Flow applications
https://onflow.org
Apache License 2.0
206 stars 62 forks source link

[BUG] Dependency Manager repeats the inquiry for extra dependencies #1569

Closed btspoony closed 1 month ago

btspoony commented 1 month ago

Instructions

Add a contract with multiple imports.

Problem

image

The same dependency has been asked multiple times (even if it already exists in flow.json or has been answered before).

Steps to Reproduce

just do it.

Acceptance Criteria

Already asked or already in the dependency of flow.json, only ask once.

Context

flow-cli: v1.18.0

chasefleming commented 1 month ago

Thanks for making this issue @btspoony . I'll get this fixed for you.