message: Inlined onCanPerform due to its strange name.
diff: @@ -55,7 +55,14 @@ class RefactoringActionProvider implements vscode.CodeActionProvider {
  ActionProvider
  >[] = [];
  - const onCanPeform = (
  + t.traverseAST(ast, {
  + enter: (path: t.NodePath<any>) => {
  + refactorings.forEach(refactoring =>
  + this.canPerform(
  + refactoring,
  + path,
  + selection,
  + (
  path: t.NodePath,
  refactoring: RefactoringWithActionProvider<ActionProvider>
  ) => {
  @@ -66,12 +73,8 @@ class RefactoringActionProvider implements vscode.CodeActionProvider {
  }
  applicableRefactorings.push(refactoring);
  - };
  -
  - t.traverseAST(ast, {
  - enter: (path: t.NodePath<any>) => {
  - refactorings.forEach(refactoring =>
  - this.canPerform(refactoring, path, selection, onCanPeform)
  + }
  + )
  );
  }
  });
  