Skip to content

Commit 6b9a48d

Browse files
committed
set empty string
1 parent 17153cb commit 6b9a48d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/services/StateService.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ export class StateService {
178178
identity: IdentityWithToken,
179179
stateLockRequest?: StateLockRequest,
180180
): Promise<void> => {
181-
const path = stateLockRequest ? stateLockRequest.Path : '';
181+
const path = stateLockRequest ? stateLockRequest.Path || '' : '';
182182
const pk = StateLockModel.prefix('pk', identity.ownerId);
183183
const sk = StateLockModel.prefix('sk', `${identity.repoId}_${identity.workspace}_${path}`);
184184

0 commit comments

Comments
 (0)