Skip to content

Commit 255995b

Browse files
committed
fixed a bug in previous commit
1 parent 481f426 commit 255995b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/jruby.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,7 @@ private void joinArgs( Atom[] args, StringBuilder s, int startIndex ) {
378378
switch( inputConversionOptions[getInlet()] ) {
379379
case STRING:
380380
if( value.startsWith( "\"" ) && value.endsWith( "\"" ) ) {
381-
value = value.substring( 1, value.length()-2 );
381+
value = value.substring( 1, value.length()-1 );
382382
}
383383
value = "'" + value.replaceAll( "'", "\\\\'" ) + "'";
384384
break;

0 commit comments

Comments
 (0)