Skip to content

Commit

Permalink
Merge pull request #1494 from embroider-build/rewritten-methods
Browse files Browse the repository at this point in the history
Make proxied rewritten-package-cache methods clearer
  • Loading branch information
ef4 authored Jun 29, 2023
2 parents 8e0a473 + 9b8f210 commit f4b7a14
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions packages/shared-internals/src/rewritten-package-cache.ts
Original file line number Diff line number Diff line change
Expand Up @@ -232,28 +232,28 @@ class WrappedPackage implements PackageTheGoodParts {
return this.plainPkg.meta;
}

get isEmberPackage() {
return this.plainPkg.isEmberPackage;
isEmberPackage() {
return this.plainPkg.isEmberPackage();
}

isEngine() {
return this.plainPkg.isEngine();
}

get isLazyEngine() {
return this.plainPkg.isLazyEngine;
isLazyEngine() {
return this.plainPkg.isLazyEngine();
}

get isV2Ember() {
return this.plainPkg.isV2Ember;
isV2Ember() {
return this.plainPkg.isV2Ember();
}

get isV2App() {
return this.plainPkg.isV2App;
isV2App() {
return this.plainPkg.isV2App();
}

get isV2Addon() {
return this.plainPkg.isV2Addon;
isV2Addon() {
return this.plainPkg.isV2Addon();
}

// it's important that we're calling this.dependencies here at this level, not
Expand Down

0 comments on commit f4b7a14

Please sign in to comment.