You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some repositories may need credentials (which can be configured with "httpCredentials": "user:pass"), so if we generate their config, it would be valuable to write creds too.
I think this should require an explicit opt-in, such as a setting like smithy4sLSPConfigCredentials := true.
Alternatively, we should detect already-existing repositories with credentials, and not add duplicate entries for them (right now, I see such entries being added).
Some repositories may need credentials (which can be configured with
"httpCredentials": "user:pass"
), so if we generate their config, it would be valuable to write creds too.I think this should require an explicit opt-in, such as a setting like
smithy4sLSPConfigCredentials := true
.Alternatively, we should detect already-existing repositories with credentials, and not add duplicate entries for them (right now, I see such entries being added).
To reproduce:
project/plugins.sbt:
build.sbt:
smithy-build.json:
Run
sbt smithy4sUpdateLSPConfig
, your smithy-build changes to (formatted):i.e. the last entry is added, duplicating / conflicting with the first one.
The text was updated successfully, but these errors were encountered: