Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Commit 5370d56

Browse files
committed
Expose acceptInvalidation from a repository's state
1 parent 2ae9d8e commit 5370d56

2 files changed

Lines changed: 5 additions & 0 deletions

File tree

lib/models/repository-states/state.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -415,6 +415,10 @@ export default class State {
415415
return null;
416416
}
417417

418+
acceptInvalidation() {
419+
return null;
420+
}
421+
418422
// Internal //////////////////////////////////////////////////////////////////////////////////////////////////////////
419423
// Non-delegated methods that provide subclasses with convenient access to Repository properties.
420424

lib/models/repository.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -372,6 +372,7 @@ const delegates = [
372372
'getCommitMessage',
373373
'fetchCommitMessageTemplate',
374374
'getCache',
375+
'acceptInvalidation',
375376
];
376377

377378
for (let i = 0; i < delegates.length; i++) {

0 commit comments

Comments
 (0)