Skip to content

Commit

Permalink
feat: use debug logging when in debug mode (#128) (#129)
Browse files Browse the repository at this point in the history
* feat: use debug logging when in debug mode (#128)

* chore: remove unnecessary getExperimental function

* chore: fix setupMise typing

As `core.getInput` returns always a string, the type of `version` in
`setupMise` should be just a `string`. When the string is empty it means
to use the latest version. This could be made cleaner but this is how it
works.

* feat: only set MISE_LOG_LEVEL when required

Previously MISE_LOG_LEVEL was always set, even when log_level parameter
wasn't configured. This changes that behaviour so that the environment
variable is only set when log_level is set by the user and that the
MISE_LOG_LEVEL is set to debug only for this action when in debug mode.

---------

Co-authored-by: Jeff Dickey <[email protected]>
  • Loading branch information
xremming and jdx authored Oct 25, 2024
1 parent e3088a5 commit cc7f0e6
Show file tree
Hide file tree
Showing 4 changed files with 470 additions and 461 deletions.
Loading

0 comments on commit cc7f0e6

Please sign in to comment.