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

Commit 9dd2f25

Browse files
committed
Coverage tweaks
1 parent 54d8a6b commit 9dd2f25

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/github-package.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -555,6 +555,7 @@ export default class GithubPackage {
555555
const candidatePaths = new Set(this.project.getPaths());
556556
if (this.lockedContext) {
557557
const lockedRepo = this.lockedContext.getRepository();
558+
/* istanbul ignore else */
558559
if (lockedRepo) {
559560
candidatePaths.add(lockedRepo.getWorkingDirectoryPath());
560561
}
@@ -673,7 +674,7 @@ export default class GithubPackage {
673674
* usePath - Path of the context to use as the next context, if it is present in the pool.
674675
* lock - True or false to lock the ultimately chosen context. Omit to preserve the current lock state.
675676
*/
676-
async updateActiveContext(options = {}) {
677+
async updateActiveContext(options) {
677678
if (this.workspace.isDestroyed()) {
678679
return;
679680
}

0 commit comments

Comments
 (0)