Skip to content

Commit 158320e

Browse files
carsonRadtkeDarkArc
authored andcommitted
dev-init: fix direnv discovery messages []
1 parent 89e67e0 commit 158320e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎dev-init.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ async def check_edg_python() -> InitResult:
231231
'then open a new terminal window or tab.'
232232
)
233233
else:
234-
if shutil.which('direnv'):
234+
if not shutil.which('direnv'):
235235
find_edgy.add_failure_commentary(
236236
'Consider installing direnv; otherwise, add:'
237237
)
@@ -293,7 +293,7 @@ async def check_edg_python() -> InitResult:
293293
'then open a new terminal window or tab.'
294294
)
295295
else:
296-
if shutil.which('direnv'):
296+
if not shutil.which('direnv'):
297297
find_edg_tools.add_failure_commentary(
298298
'Consider installing direnv; otherwise, add:'
299299
)

0 commit comments

Comments
 (0)