Update to Prettier 2.3 (#13288)
This commit is contained in:
@@ -68,9 +68,8 @@ export default declare(api => {
|
||||
if (!state.fileNameIdentifier) {
|
||||
const fileName = state.filename || "";
|
||||
|
||||
const fileNameIdentifier = path.scope.generateUidIdentifier(
|
||||
FILE_NAME_VAR,
|
||||
);
|
||||
const fileNameIdentifier =
|
||||
path.scope.generateUidIdentifier(FILE_NAME_VAR);
|
||||
const scope = path.hub.getScope();
|
||||
if (scope) {
|
||||
scope.push({
|
||||
|
||||
Reference in New Issue
Block a user