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.
This commit is contained in:
		
							parent
							
								
									8b2768ab40
								
							
						
					
					
						commit
						c0ad50e645
					
				|  | @ -63,7 +63,7 @@ fi | ||||||
| git add -- $fname | git add -- $fname | ||||||
| 
 | 
 | ||||||
| # Buffer | # Buffer | ||||||
| exec > >(tee $fname) | exec > >(tee -a $fname) | ||||||
| print -n 'BUFFER=' | print -n 'BUFFER=' | ||||||
| if [[ $buffer != (#s)[$'\t -~']#(#e) ]]; then | if [[ $buffer != (#s)[$'\t -~']#(#e) ]]; then | ||||||
|   print -r -- ${(qqqq)buffer} |   print -r -- ${(qqqq)buffer} | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue