Skip to content

Commit f6cdae1

Browse files
Update src/tree.js
Co-authored-by: Neil Fernandez <neil.fernandez@oracle.com>
1 parent c11bb1f commit f6cdae1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tree.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1169,7 +1169,7 @@ let tree = (function(){
11691169
postfix = 'and\n';
11701170
if( 0 < ret.indexOf(postfix) && ret.indexOf(postfix) == ret.length-postfix.length )
11711171
ret = ret.substring(0, ret.length-postfix.length).trim();
1172-
if( !ret.endsWith('/n') )
1172+
if( !ret.endsWith('\n') )
11731173
ret += '\n';
11741174
ret += '/\n';
11751175
return ret.toLowerCase();

0 commit comments

Comments
 (0)