We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 17153cb commit 6b9a48dCopy full SHA for 6b9a48d
1 file changed
src/services/StateService.ts
@@ -178,7 +178,7 @@ export class StateService {
178
identity: IdentityWithToken,
179
stateLockRequest?: StateLockRequest,
180
): Promise<void> => {
181
- const path = stateLockRequest ? stateLockRequest.Path : '';
+ const path = stateLockRequest ? stateLockRequest.Path || '' : '';
182
const pk = StateLockModel.prefix('pk', identity.ownerId);
183
const sk = StateLockModel.prefix('sk', `${identity.repoId}_${identity.workspace}_${path}`);
184
0 commit comments