ignore trailing commas when inferring newlines - fixes #1304
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
"use strict";
|
||||
|
||||
var obj = babelHelpers.defineProperty({
|
||||
first: "first" }, "second", "second");
|
||||
first: "first"
|
||||
}, "second", "second");
|
||||
|
||||
@@ -5,7 +5,8 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument
|
||||
var foo = _extends({}, bar);
|
||||
|
||||
var foo = _extends({}, bar, {
|
||||
bar: "foo" });
|
||||
bar: "foo"
|
||||
});
|
||||
|
||||
var foo = _extends({}, bar, {
|
||||
bar: "foo"
|
||||
|
||||
Reference in New Issue
Block a user