From bfc305528e32dc083b8be29fa6f303dc78889334 Mon Sep 17 00:00:00 2001 From: Jorge Bucaran Date: Sun, 15 May 2016 15:52:21 +0900 Subject: [PATCH] Bugfix: Incorrect JSON parsing when inside mawk. --- fisher.fish | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fisher.fish b/fisher.fish index ed13893..798b4a7 100644 --- a/fisher.fish +++ b/fisher.fish @@ -951,14 +951,14 @@ function __fisher_remote_index_update curl --max-time 10 -s 'https://api.github.com/orgs/fisherman/repos?per_page=100' | awk -v ORS='' ' { - gsub(/[{}\[\]]|^[\t ]*/, \"\") + gsub(/[{}\[\]]/, \"\") } // ' | awk ' { - n = split(\$0, a, /,\"/) + n = split(\$0, a, /,[\t ]*\"/) for (i = 1; i <= n; i++) { gsub(/\"/, \"\", a[i])