]> git.donarmstrong.com Git - perltidy.git/commitdiff
add missing call arg
authorSteve Hancock <perltidy@users.sourceforge.net>
Tue, 26 Nov 2024 22:58:44 +0000 (14:58 -0800)
committerSteve Hancock <perltidy@users.sourceforge.net>
Tue, 26 Nov 2024 22:58:44 +0000 (14:58 -0800)
lib/Perl/Tidy/Formatter.pm

index ff70cc5690c15f8be6fa72001d25861d262cee0c..114a8fcdb1d0b7b7aa5b4bcb5f9e3a6723270b06 100644 (file)
@@ -14575,7 +14575,7 @@ sub add_trailing_comma {
     }
 
     # If so, and not delayed, add a comma
-    if ( $match && !$self->delay_trailing_comma_op($stable_flag) ) {
+    if ( $match && !$self->delay_trailing_comma_op( 1, $stable_flag ) ) {
 
         # any blank after the comma will be added before the closing paren,
         # below