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

Commit 550fb8c

Browse files
committed
Keep the serialized state as activeRepositoryPath
1 parent 8e7c537 commit 550fb8c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/github-package.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ import {reporterProxy} from './reporter-proxy';
2626

2727
const defaultState = {
2828
newProject: true,
29-
activeContextPath: null,
29+
activeRepositoryPath: null,
3030
contextLocked: false,
3131
};
3232

@@ -242,7 +242,7 @@ export default class GithubPackage {
242242

243243
this.activated = true;
244244
this.scheduleActiveContextUpdate({
245-
usePath: savedState.activeContextPath,
245+
usePath: savedState.activeRepositoryPath,
246246
lock: savedState.contextLocked,
247247
});
248248
this.rerender();
@@ -266,7 +266,7 @@ export default class GithubPackage {
266266

267267
serialize() {
268268
return {
269-
activeContextPath: this.getActiveRepositoryPath(),
269+
activeRepositoryPath: this.getActiveRepositoryPath(),
270270
contextLocked: Boolean(this.lockedContext),
271271
newProject: false,
272272
};

0 commit comments

Comments
 (0)