File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -187,22 +187,22 @@ def write_section(text: str) -> None:
187187 available, unless you explicitly update the lock file.
188188
189189 Install this environment as "YOURENV" with:
190- conda-lock install -n YOURENV --file { path .name }
190+ conda-lock install -n YOURENV { path .name }
191191 """
192192 )
193193 if "dev" in categories :
194194 write_section (
195195 f"""
196196 This lock contains optional development dependencies. Include them in the installed environment with:
197- conda-lock install --dev-dependencies -n YOURENV --file { path .name }
197+ conda-lock install --dev-dependencies -n YOURENV { path .name }
198198 """
199199 )
200200 extras = sorted (categories .difference ({"main" , "dev" }))
201201 if extras :
202202 write_section (
203203 f"""
204204 This lock contains optional dependency categories { ', ' .join (extras )} . Include them in the installed environment with:
205- conda-lock install { ' ' .join ('-e ' + extra for extra in extras )} -n YOURENV --file { path .name }
205+ conda-lock install { ' ' .join ('-e ' + extra for extra in extras )} -n YOURENV { path .name }
206206 """
207207 )
208208 write_section (
You can’t perform that action at this time.
0 commit comments