fix directive newline insertion
This commit is contained in:
parent
beb8061d3f
commit
1ff63329a3
@ -104,7 +104,7 @@ exports.nodes = {
|
||||
*/
|
||||
|
||||
Literal(node, parent) {
|
||||
if (t.isExpressionStatement(parent)) {
|
||||
if (t.isExpressionStatement(parent) || t.isProgram(parent)) {
|
||||
return {
|
||||
after: true
|
||||
};
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user