mirror of
https://code.forgejo.org/actions/checkout.git
synced 2025-04-28 14:12:46 +02:00
update verbiage; add comments
This commit is contained in:
parent
518a867127
commit
2a15e11d5a
3 changed files with 10 additions and 8 deletions
|
@ -320,6 +320,8 @@ describe('git-auth-helper tests', () => {
|
|||
).toString()
|
||||
expect(actualSshKeyContent).toBe(settings.sshKey + '\n')
|
||||
if (!isWindows) {
|
||||
// Assert read/write for user, not group or others.
|
||||
// Otherwise SSH client will error.
|
||||
expect((await fs.promises.stat(actualSshKeyPath)).mode & 0o777).toBe(
|
||||
0o600
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue