mirror of
https://github.com/oh-my-fish/oh-my-fish.git
synced 2025-02-14 21:02:54 +08:00
Fix bogus math expression in basic_formatter (#710)
This commit is contained in:
parent
ee1921b4c4
commit
b328fa3663
|
@ -4,7 +4,7 @@ end
|
||||||
|
|
||||||
function __fish-spec.all_specs_finished -e all_specs_finished -a spec
|
function __fish-spec.all_specs_finished -e all_specs_finished -a spec
|
||||||
set -l __fish_spec_end_time (__fish-spec.current_time)
|
set -l __fish_spec_end_time (__fish-spec.current_time)
|
||||||
set -l diff (math "scale=3;($__fish_spec_end_time - $__fish_spec_start_time) / 1000")
|
set -l diff (math --scale=3 "($__fish_spec_end_time - $__fish_spec_start_time) / 1000")
|
||||||
|
|
||||||
echo -en '\n\nFinished in '
|
echo -en '\n\nFinished in '
|
||||||
printf '%g' $diff
|
printf '%g' $diff
|
||||||
|
|
Loading…
Reference in New Issue
Block a user