Skip to content

Commit bb2d6a3

Browse files
committed
fix comment indentation
1 parent d644ef2 commit bb2d6a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ Compiler.prototype.visit = function(node){
4646

4747
Compiler.prototype.comment = function(node){
4848
if (this.compress) return '';
49-
return '/*' + node.comment + '*/';
49+
return this.indent() + '/*' + node.comment + '*/';
5050
};
5151

5252
/**

0 commit comments

Comments
 (0)