We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b67844d commit 5cb1413Copy full SHA for 5cb1413
src/common/types.ts
@@ -161,6 +161,7 @@ export interface IEntry {
161
reposStatus?: {
162
props: string;
163
item: string;
164
+ lock?: object;
165
};
166
}
167
src/statusParser.ts
@@ -18,7 +18,7 @@ function processEntry(
18
19
20
const wcStatus: IWcStatus = {
21
- locked: !!entry.wcStatus.wcLocked && entry.wcStatus.wcLocked === "true",
+ locked: !!entry.wcStatus.wcLocked && entry.wcStatus.wcLocked === "true" || !!(entry.reposStatus && entry.reposStatus.lock),
22
switched: !!entry.wcStatus.switched && entry.wcStatus.switched === "true"
23
24
0 commit comments