Skip to content

Commit

Permalink
use accessSync
Browse files Browse the repository at this point in the history
  • Loading branch information
notbigdata authored Jul 10, 2022
1 parent 1aad07f commit ce8d647
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ async function run() {
if (process.platform !== 'darwin') {
if (process.platform === 'linux') {
try {
access('/dev/kvm', constants.R_OK | constants.W_OK);
accessSync('/dev/kvm', constants.R_OK | constants.W_OK);
linuxSupportKVM = true;
} catch {
console.warn(
Expand Down

0 comments on commit ce8d647

Please sign in to comment.