Skip to content

Commit

Permalink
chore: fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
jonluca committed Nov 11, 2023
1 parent 2b48f23 commit a223c1a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ export { NotarizeOptions };
export { validateLegacyAuthorizationArgs as validateAuthorizationArgs } from './validate-args';

export async function notarize({ appPath, ...otherOptions }: NotarizeOptions) {

await checkSignatures({ appPath });

if (otherOptions.tool === 'legacy') {
Expand Down
6 changes: 3 additions & 3 deletions src/spawn.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export const spawn = (
'spawning cmd:',
cmd,
'args:',
args.map((arg) => (isSecret(arg) ? '*********' : arg)),
args.map(arg => (isSecret(arg) ? '*********' : arg)),
'opts:',
opts,
);
Expand All @@ -28,10 +28,10 @@ export const spawn = (
child.stdout!.on('data', dataHandler);
child.stderr!.on('data', dataHandler);
return new Promise<SpawnResult>((resolve, reject) => {
child.on('error', (err) => {
child.on('error', err => {
reject(err);
});
child.on('exit', (code) => {
child.on('exit', code => {
d(`cmd ${cmd} terminated with code: ${code}`);
resolve({
code,
Expand Down

0 comments on commit a223c1a

Please sign in to comment.