Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
styfle committed Dec 29, 2021
1 parent abe1731 commit 267b389
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 20 deletions.
10 changes: 5 additions & 5 deletions npm/linux-arm64-gnu/install.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
const { family } = require('detect-libc');
const { name } = require('./package.json');
const { family } = require('detect-libc')
const { name } = require('./package.json')

if (family === 'musl' && name.endsWith('-musl') || family !== 'musl' && !name.endsWith('-musl')) {
process.exit(0);
if ((family === 'musl' && name.endsWith('-musl')) || (family !== 'musl' && !name.endsWith('-musl'))) {
process.exit(0)
} else {
process.exit(1);
process.exit(1)
}
10 changes: 5 additions & 5 deletions npm/linux-arm64-musl/install.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
const { family } = require('detect-libc');
const { name } = require('./package.json');
const { family } = require('detect-libc')
const { name } = require('./package.json')

if (family === 'musl' && name.endsWith('-musl') || family !== 'musl' && !name.endsWith('-musl')) {
process.exit(0);
if ((family === 'musl' && name.endsWith('-musl')) || (family !== 'musl' && !name.endsWith('-musl'))) {
process.exit(0)
} else {
process.exit(1);
process.exit(1)
}
10 changes: 5 additions & 5 deletions npm/linux-x64-gnu/install.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
const { family } = require('detect-libc');
const { name } = require('./package.json');
const { family } = require('detect-libc')
const { name } = require('./package.json')

if (family === 'musl' && name.endsWith('-musl') || family !== 'musl' && !name.endsWith('-musl')) {
process.exit(0);
if ((family === 'musl' && name.endsWith('-musl')) || (family !== 'musl' && !name.endsWith('-musl'))) {
process.exit(0)
} else {
process.exit(1);
process.exit(1)
}
10 changes: 5 additions & 5 deletions npm/linux-x64-musl/install.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
const { family } = require('detect-libc');
const { name } = require('./package.json');
const { family } = require('detect-libc')
const { name } = require('./package.json')

if (family === 'musl' && name.endsWith('-musl') || family !== 'musl' && !name.endsWith('-musl')) {
process.exit(0);
if ((family === 'musl' && name.endsWith('-musl')) || (family !== 'musl' && !name.endsWith('-musl'))) {
process.exit(0)
} else {
process.exit(1);
process.exit(1)
}

0 comments on commit 267b389

Please sign in to comment.