File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 16
16
17
17
## Pull Request Guidelines
18
18
- Never touch the yarn.lock file.
19
+ - Run ` yarn run lint ` and also ` npm run hygiene ` and fix any errors or warnings before submitting a PR.
19
20
20
21
---
21
22
_ Last updated: 2025-06-20_
Original file line number Diff line number Diff line change @@ -293,7 +293,10 @@ export class PRContext {
293
293
294
294
public openSessionLog = ( link : SessionLinkInfo ) => this . postMessage ( { command : 'pr.open-session-log' , args : { link } } ) ;
295
295
296
- public openCommitChanges = ( commitSha : string ) => this . postMessage ( { command : 'pr.openCommitChanges' , args : { commitSha } as OpenCommitChangesArgs } ) ;
296
+ public openCommitChanges = ( commitSha : string ) => {
297
+ const args : OpenCommitChangesArgs = { commitSha } ;
298
+ return this . postMessage ( { command : 'pr.openCommitChanges' , args } ) ;
299
+ } ;
297
300
298
301
setPR = ( pr : PullRequest | undefined ) => {
299
302
this . pr = pr ;
You can’t perform that action at this time.
0 commit comments