diff options
Diffstat (limited to 'src/_node')
| -rw-r--r-- | src/_node | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -37,10 +37,18 @@ # * Mario Fernandez (https://github.com/sirech) # * Nicholas Penree (https://github.com/drudge) # * Masafumi Koba (https://github.com/ybiquitous) +# * Shohei YOSHIDA (https://github.com/syohex) # # ------------------------------------------------------------------------------ _node_files() { + for (( i = 2; i < CURRENT; i++)); do + if [[ ${words[i]} == "--prof-process" ]]; then + _files -g "*.log" + return + fi + done + _files -g "*.(js|mjs)" } |
