Skip to content

Commit b887dc3

Browse files
committed
refactor(babel7): File#delete will be deleted from Babel7
1 parent c1de28d commit b887dc3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/babel-espower-visitor.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ BabelEspowerVisitor.prototype.exit = function (nodePath) {
5757
if (assertionVisitor.isLeavingAssertion(nodePath)) {
5858
// leaving assertion
5959
assertionVisitor.leave(nodePath);
60-
file.delete('espowerAssertionVisitor');
60+
file.set('espowerAssertionVisitor', null);
6161
return;
6262
}
6363
if (!assertionVisitor.isCapturingArgument()) {

0 commit comments

Comments
 (0)