diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index dd30021..382dfcf 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,7 +19,7 @@ jobs: strategy: fail-fast: true matrix: - platform: [windows-latest, macos-latest, ubuntu-20.04] + platform: [windows-latest, macos-latest, ubuntu-24.04] runs-on: ${{ matrix.platform }} diff --git a/nupm/install.nu b/nupm/install.nu index f42abe7..29c7197 100644 --- a/nupm/install.nu +++ b/nupm/install.nu @@ -1,5 +1,3 @@ -use std log - use utils/completions.nu complete-registries use utils/dirs.nu [ nupm-home-prompt cache-dir module-dir script-dir tmp-dir ] use utils/log.nu throw-error diff --git a/nupm/mod.nu b/nupm/mod.nu index 97954f3..423031c 100644 --- a/nupm/mod.nu +++ b/nupm/mod.nu @@ -1,3 +1,5 @@ +use std/log + use utils/dirs.nu [ DEFAULT_NUPM_HOME DEFAULT_NUPM_TEMP DEFAULT_NUPM_CACHE DEFAULT_NUPM_REGISTRIES nupm-home-prompt @@ -26,6 +28,8 @@ export-env { # TODO: Add `nupm registry add/remove` to add/remove registry from the env? $env.NUPM_REGISTRIES = ($env.NUPM_REGISTRIES? | default $DEFAULT_NUPM_REGISTRIES) + + use std/log [] } # Nushell Package Manager