File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -7999,7 +7999,7 @@ async function isTrustedUser() {
7999
7999
core . debug ( `Trusted users: ${ trustedUsers } ` ) ;
8000
8000
core . debug ( `Trusted groups: ${ trustedGroups } ` ) ;
8001
8001
// Chech if Nix is installed in single-user mode.
8002
- let isStoreWritable = isWritable ( '/nix/store' ) ;
8002
+ let isStoreWritable = await isWritable ( '/nix/store' ) ;
8003
8003
core . debug ( `Is store writable: ${ isStoreWritable } ` ) ;
8004
8004
return isStoreWritable
8005
8005
|| trustedUsers . includes ( user )
Original file line number Diff line number Diff line change @@ -319,7 +319,7 @@ async function isTrustedUser(): Promise<boolean> {
319
319
core . debug ( `Trusted groups: ${ trustedGroups } ` ) ;
320
320
321
321
// Chech if Nix is installed in single-user mode.
322
- let isStoreWritable = isWritable ( '/nix/store' ) ;
322
+ let isStoreWritable = await isWritable ( '/nix/store' ) ;
323
323
core . debug ( `Is store writable: ${ isStoreWritable } ` ) ;
324
324
325
325
return isStoreWritable
You can’t perform that action at this time.
0 commit comments