Skip to content

Commit ce8d647

Browse files
authored
use accessSync
1 parent 1aad07f commit ce8d647

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ async function run() {
2727
if (process.platform !== 'darwin') {
2828
if (process.platform === 'linux') {
2929
try {
30-
access('/dev/kvm', constants.R_OK | constants.W_OK);
30+
accessSync('/dev/kvm', constants.R_OK | constants.W_OK);
3131
linuxSupportKVM = true;
3232
} catch {
3333
console.warn(

0 commit comments

Comments
 (0)