Ver código fonte

dev tools: Fix regression introduced in commit "Print the test data to stdout for convenience.".

tee(1) truncated $fname.  Fortunately, the data that got truncated had just
been `git add`-ed, so no harm was done.
pull/659/head
Daniel Shahaf 4 anos atrás
pai
commit
c0ad50e645
1 arquivos alterados com 1 adições e 1 exclusões
  1. +1
    -1
      tests/generate.zsh

+ 1
- 1
tests/generate.zsh Ver arquivo

@ -63,7 +63,7 @@ fi
git add -- $fname
# Buffer
exec > >(tee $fname)
exec > >(tee -a $fname)
print -n 'BUFFER='
if [[ $buffer != (#s)[$'\t -~']#(#e) ]]; then
print -r -- ${(qqqq)buffer}

Carregando…
Cancelar
Salvar