Skip to content

Commit cbf8ed9

Browse files
committed
refactor
1 parent 0700e15 commit cbf8ed9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ module.exports = function(css, options){
1717
var lines = str.match(/\n/g);
1818
if (lines) lineno += lines.length;
1919
var i = str.lastIndexOf('\n');
20-
column = ~i ? str.length-i : column + str.length;
20+
column = ~i ? str.length - i : column + str.length;
2121
}
2222

2323
/**
@@ -142,6 +142,7 @@ module.exports = function(css, options){
142142
updatePosition(str);
143143
css = css.slice(i);
144144
column += 2;
145+
145146
return pos({
146147
type: 'comment',
147148
comment: str

0 commit comments

Comments
 (0)