Skip to content

Commit

Permalink
feat(@angular-devkit/core): Add access to the backend of the CordHost
Browse files Browse the repository at this point in the history
  • Loading branch information
hansl committed Jun 6, 2018
1 parent 176dc2f commit f9f1f59
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/angular_devkit/core/src/virtual-fs/host/record.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ export class CordHost extends SimpleMemoryHost {

constructor(protected _back: ReadonlyHost) { super(); }

get backend(): ReadonlyHost { return this._back; }
get capabilities(): HostCapabilities {
// Our own host is always Synchronous, but the backend might not be.
return {
Expand Down

0 comments on commit f9f1f59

Please sign in to comment.