Skip to content

Commit aee15bd

Browse files
simplification
1 parent a58089e commit aee15bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/common/src/util.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -619,7 +619,7 @@ function isCustomType(unknown, module) {
619619
if (getConstructorName(walkingModule) === parentModuleName) {
620620
return true;
621621
}
622-
} while (walkingModule.parent && (walkingModule = walkingModule.parent));
622+
} while ((walkingModule = walkingModule.parent));
623623

624624
return false;
625625
}

0 commit comments

Comments
 (0)