From f508ef038c54e379e56407772263963db5a2b0ad Mon Sep 17 00:00:00 2001 From: Kasper Zutterman Date: Sat, 9 Nov 2024 14:43:53 +0100 Subject: [PATCH] Fix reference to `--resolution` in docs (#8968) ## Summary Update `resolution` to `--resolution`, so it's aligned with the rest of the resolution documentation, and copy-pastable for usage. --------- Co-authored-by: Charlie Marsh --- docs/concepts/resolution.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/concepts/resolution.md b/docs/concepts/resolution.md index 5ec45067a..89c6ea1f9 100644 --- a/docs/concepts/resolution.md +++ b/docs/concepts/resolution.md @@ -355,9 +355,10 @@ code. Lower bounds are particularly critical when writing a library. It's important to declare the lowest version for each dependency that your library works with, and to validate that the bounds are -correct — testing with [`--resolution lowest` or `resolution lowest-direct`](#resolution-strategy). -Otherwise, a user may receive an old, incompatible version of one of your library's dependencies and -the library will fail with an unexpected error. +correct — testing with +[`--resolution lowest` or `--resolution lowest-direct`](#resolution-strategy). Otherwise, a user may +receive an old, incompatible version of one of your library's dependencies and the library will fail +with an unexpected error. ## Reproducible resolutions