Skip to content

Commit

Permalink
update log content
Browse files Browse the repository at this point in the history
  • Loading branch information
Blankll committed Jul 15, 2023
1 parent ec22622 commit ebc7a2c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,9 @@ export const isFileExists = async (path: string): Promise<boolean> => {
};

export const platform = async () => {
debug('checking platform');
const { stdout: sysName } = await execa('uname', ['-s']);
const { stdout: arch } = await execa('uname', ['-m']);

debug(`checking platform uname: ${sysName} ${arch}`);
return { sysName: sysName.toLowerCase(), arch: arch.toLowerCase() };
};

Expand Down

0 comments on commit ebc7a2c

Please sign in to comment.