File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 33## Unreleased
44
55- Add ` --init [dir] ` option to get you started quickly
6- - Init with custom directory updates ` .env ` with ` BASHUNIT_BOOTSTRAP ` , commenting any previous value
6+ - Init with custom directory updates ` .env ` with ` BASHUNIT_BOOTSTRAP `
77- Fix process time always shows as 0 ms
88- Fixed terminal width detection first tput and fall back stty
99- Refactor clock optimizing the implementation used to get the time
Original file line number Diff line number Diff line change @@ -104,10 +104,10 @@ while [[ $# -gt 0 ]]; do
104104 ;;
105105 --init)
106106 if [[ -n ${2:- } && ${2: 0: 1} != " -" ]]; then
107- init::init " $2 "
107+ init::project " $2 "
108108 shift
109109 else
110- init::init
110+ init::project
111111 fi
112112 trap ' ' EXIT && exit 0
113113 ;;
Original file line number Diff line number Diff line change 11#! /usr/bin/env bash
22
3- function init::init () {
3+ function init::project () {
44 local tests_dir=" ${1:- $BASHUNIT_DEFAULT_PATH } "
55 mkdir -p " $tests_dir "
66
You can’t perform that action at this time.
0 commit comments