From 5e4227c89936a5c578f2772eceb58e8fddd3b9da Mon Sep 17 00:00:00 2001 From: Kenny Root Date: Wed, 21 Oct 2015 16:32:49 -0700 Subject: Change the lint script to use message instead of summary The message has a better explanation (i.e., specific to the instance it's talking about) than the summary which is fairly generic. --- scripts/check-lint-count.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/check-lint-count.bash b/scripts/check-lint-count.bash index c02f70e..5247a9b 100755 --- a/scripts/check-lint-count.bash +++ b/scripts/check-lint-count.bash @@ -32,7 +32,7 @@ lint_results="$tmp_dir/lint.txt" hist_results="$tmp_dir/hist.txt" run_query() { - local xqilla_script='string-join(//issue/location/(concat("file=", @file, " line=", @line, " column=", @column, " reason=", ../@summary)), " ")' + local xqilla_script='string-join(//issue/location/(concat("file=", @file, " line=", @line, " column=", @column, " message=", ../@message)), " ")' xqilla -i "$1" <(echo "$xqilla_script") | sed "s,$PWD/,,g" > "$2" } -- cgit v1.2.3