Skip to content

Commit

Permalink
fix: import logging package in main body
Browse files Browse the repository at this point in the history
  • Loading branch information
FMotalleb committed Oct 18, 2024
1 parent 42d65a9 commit 29126e5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions nupm/install.nu
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,7 @@ export def main [
--force(-f) # Overwrite already installed package
--no-confirm # Allows to bypass the interactive confirmation, useful for scripting
]: nothing -> nothing {
use std/log
if not (nupm-home-prompt --no-confirm=$no_confirm) {
return
}
Expand Down

0 comments on commit 29126e5

Please sign in to comment.