From d55a74c4187837347f8edbdd034e28cfee1e9a15 Mon Sep 17 00:00:00 2001 From: John Bampton Date: Sat, 13 Feb 2021 16:23:00 +1000 Subject: feat(CI): check for trailing whitespace Run on pull request only. Use a shell script to check for trailing whitespace in all files. Fail if trailing whitespace is found. --- mrbgems/mruby-hash-ext/src/hash-ext.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mrbgems/mruby-hash-ext/src') diff --git a/mrbgems/mruby-hash-ext/src/hash-ext.c b/mrbgems/mruby-hash-ext/src/hash-ext.c index 6345420ed..9c85858fe 100644 --- a/mrbgems/mruby-hash-ext/src/hash-ext.c +++ b/mrbgems/mruby-hash-ext/src/hash-ext.c @@ -74,7 +74,7 @@ hash_slice(mrb_state *mrb, mrb_value hash) * hsh.except(*keys) -> a_hash * * Returns a hash excluding the given keys and their values. - * + * * h = { a: 100, b: 200, c: 300 } * h.except(:a) #=> {:b=>200, :c=>300} * h.except(:b, :c, :d) #=> {:a=>100} -- cgit v1.2.3