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 1616
1717## Pull Request Guidelines
1818- 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.
1920
2021---
2122_ Last updated: 2025-06-20_
Original file line number Diff line number Diff line change @@ -293,7 +293,10 @@ export class PRContext {
293293
294294 public openSessionLog = ( link : SessionLinkInfo ) => this . postMessage ( { command : 'pr.open-session-log' , args : { link } } ) ;
295295
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+ } ;
297300
298301 setPR = ( pr : PullRequest | undefined ) => {
299302 this . pr = pr ;
You can’t perform that action at this time.
0 commit comments