Bump prettier (#6991)

This commit is contained in:
Brian Ng
2017-12-07 16:36:49 -06:00
committed by Henry Zhu
parent d6db5fb1e1
commit c7980b2b90
18 changed files with 119 additions and 106 deletions

View File

@@ -113,17 +113,17 @@ export default function(api, options) {
let moduleName = this.getModuleName();
if (moduleName) moduleName = t.stringLiteral(moduleName);
const {
meta,
headers,
} = rewriteModuleStatementsAndPrepareHeader(path, {
exportName: "exports",
loose,
strict,
strictMode,
allowTopLevelThis,
noInterop,
});
const { meta, headers } = rewriteModuleStatementsAndPrepareHeader(
path,
{
exportName: "exports",
loose,
strict,
strictMode,
allowTopLevelThis,
noInterop,
},
);
for (const [source, metadata] of meta.source) {
const loadExpr = t.callExpression(t.identifier("require"), [