Skip to content

Commit 82c2951

Browse files
committed
.
1 parent e3603a6 commit 82c2951

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

index.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,10 @@ module.exports = function(css, options){
226226
comments(decls);
227227
}
228228

229-
if (!close()) return error("missing '}'");
229+
if (!close()) {
230+
css += '}';
231+
if (!close()) return error("missing '}'");
232+
}
230233
return decls;
231234
}
232235

0 commit comments

Comments
 (0)