Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
mbektas committed Oct 25, 2023
1 parent 165c89d commit 33a626d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
5 changes: 4 additions & 1 deletion scripts/buildutil.js
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,10 @@ if (cli.flags.updateBinarySignList) {

const binaries = findBinariesInDirectory(envInstallerDir);
const fileContent = binaries.join('\n');
const signListFile = path.join('env_installer', `sign-${cli.flags.platform}.txt`);
const signListFile = path.join(
'env_installer',
`sign-${cli.flags.platform}.txt`
);

fs.writeFileSync(signListFile, `${fileContent}\n`);

Expand Down
6 changes: 5 additions & 1 deletion src/main/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -493,7 +493,11 @@ export function createCommandScriptInEnv(
export function createUnsignScriptInEnv(envPath: string): string {
const pythonBin = 'bin/python3.8';
const appDir = getAppDir();
const signListFile = path.join(appDir, 'env_installer', `sign-osx-${process.arch === 'arm64' ? 'arm64' : '64' }.txt`);
const signListFile = path.join(
appDir,
'env_installer',
`sign-osx-${process.arch === 'arm64' ? 'arm64' : '64'}.txt`
);
const fileContents = fs.readFileSync(signListFile, 'utf-8');
const signList: string[] = [];

Expand Down

0 comments on commit 33a626d

Please sign in to comment.