瀏覽代碼

dev tools: Tolerate invalid input.

pull/371/head
Daniel Shahaf 8 年之前
父節點
當前提交
987c133486
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      tests/generate.zsh

+ 1
- 1
tests/generate.zsh 查看文件

@ -40,7 +40,7 @@ if (( $# != 3 )) || [[ $1 == -* ]]; then
fi
buffer=$1
ZSH_HIGHLIGHT_HIGHLIGHTERS=( $2 )
fname=${0:A:h:h}/highlighters/$2/test-data/$3.zsh
fname=${0:A:h:h}/highlighters/$2/test-data/${3%.zsh}.zsh
exec 3>&1
exec >$fname
git add -N $fname

Loading…
取消
儲存