Skip to content

Commit

Permalink
Fix BASHUNIT_DEV_LOG (#386)
Browse files Browse the repository at this point in the history
  • Loading branch information
Chemaclass authored Nov 9, 2024
1 parent 8e7b385 commit ee1eb30
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 4 deletions.
1 change: 0 additions & 1 deletion .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,3 @@ BASHUNIT_HEADER_ASCII_ART=
BASHUNIT_SIMPLE_OUTPUT=
BASHUNIT_STOP_ON_FAILURE=
BASHUNIT_SHOW_EXECUTION_TIME=
BASHUNIT_DEV_MODE=
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
## Unreleased

- Improved output: adding a space between each test file
- Remove `BASHUNIT_DEV_MODE` in favor of `BASHUNIT_DEV_LOG`

## [0.18.0](https://github.com/TypedDevs/bashunit/compare/0.17.0...0.18.0) - 2024-10-16

Expand Down
1 change: 0 additions & 1 deletion docs/command-line.md
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,6 @@ BASHUNIT_HEADER_ASCII_ART: false
BASHUNIT_SIMPLE_OUTPUT: false
BASHUNIT_STOP_ON_FAILURE: false
BASHUNIT_SHOW_EXECUTION_TIME: true
BASHUNIT_DEV_MODE: true
BASHUNIT_VERBOSE: true
########################################################################################################################################

Expand Down
3 changes: 1 addition & 2 deletions src/env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ function env::is_show_execution_time_enabled() {
}

function env::is_dev_mode_enabled() {
[[ -f "$BASHUNIT_DEV_LOG" ]]
[[ -n "$BASHUNIT_DEV_LOG" ]]
}

function env::is_verbose_enabled() {
Expand Down Expand Up @@ -103,7 +103,6 @@ function env::print_verbose() {
"BASHUNIT_SIMPLE_OUTPUT"
"BASHUNIT_STOP_ON_FAILURE"
"BASHUNIT_SHOW_EXECUTION_TIME"
"BASHUNIT_DEV_MODE"
"BASHUNIT_VERBOSE"
)

Expand Down

0 comments on commit ee1eb30

Please sign in to comment.