@@ -94,7 +94,9 @@ switch (platform) {
94
94
case 'win32' :
95
95
switch ( arch ) {
96
96
case 'x64' :
97
- localFileExisted = existsSync ( join ( __dirname , 'bcrypt.win32-x64-msvc.node' ) )
97
+ localFileExisted = existsSync (
98
+ join ( __dirname , 'bcrypt.win32-x64-msvc.node' )
99
+ )
98
100
try {
99
101
if ( localFileExisted ) {
100
102
nativeBinding = require ( './bcrypt.win32-x64-msvc.node' )
@@ -106,7 +108,9 @@ switch (platform) {
106
108
}
107
109
break
108
110
case 'ia32' :
109
- localFileExisted = existsSync ( join ( __dirname , 'bcrypt.win32-ia32-msvc.node' ) )
111
+ localFileExisted = existsSync (
112
+ join ( __dirname , 'bcrypt.win32-ia32-msvc.node' )
113
+ )
110
114
try {
111
115
if ( localFileExisted ) {
112
116
nativeBinding = require ( './bcrypt.win32-ia32-msvc.node' )
@@ -118,7 +122,9 @@ switch (platform) {
118
122
}
119
123
break
120
124
case 'arm64' :
121
- localFileExisted = existsSync ( join ( __dirname , 'bcrypt.win32-arm64-msvc.node' ) )
125
+ localFileExisted = existsSync (
126
+ join ( __dirname , 'bcrypt.win32-arm64-msvc.node' )
127
+ )
122
128
try {
123
129
if ( localFileExisted ) {
124
130
nativeBinding = require ( './bcrypt.win32-arm64-msvc.node' )
@@ -157,7 +163,9 @@ switch (platform) {
157
163
}
158
164
break
159
165
case 'arm64' :
160
- localFileExisted = existsSync ( join ( __dirname , 'bcrypt.darwin-arm64.node' ) )
166
+ localFileExisted = existsSync (
167
+ join ( __dirname , 'bcrypt.darwin-arm64.node' )
168
+ )
161
169
try {
162
170
if ( localFileExisted ) {
163
171
nativeBinding = require ( './bcrypt.darwin-arm64.node' )
@@ -191,7 +199,9 @@ switch (platform) {
191
199
switch ( arch ) {
192
200
case 'x64' :
193
201
if ( isMusl ( ) ) {
194
- localFileExisted = existsSync ( join ( __dirname , 'bcrypt.linux-x64-musl.node' ) )
202
+ localFileExisted = existsSync (
203
+ join ( __dirname , 'bcrypt.linux-x64-musl.node' )
204
+ )
195
205
try {
196
206
if ( localFileExisted ) {
197
207
nativeBinding = require ( './bcrypt.linux-x64-musl.node' )
@@ -202,7 +212,9 @@ switch (platform) {
202
212
loadError = e
203
213
}
204
214
} else {
205
- localFileExisted = existsSync ( join ( __dirname , 'bcrypt.linux-x64-gnu.node' ) )
215
+ localFileExisted = existsSync (
216
+ join ( __dirname , 'bcrypt.linux-x64-gnu.node' )
217
+ )
206
218
try {
207
219
if ( localFileExisted ) {
208
220
nativeBinding = require ( './bcrypt.linux-x64-gnu.node' )
@@ -216,7 +228,9 @@ switch (platform) {
216
228
break
217
229
case 'arm64' :
218
230
if ( isMusl ( ) ) {
219
- localFileExisted = existsSync ( join ( __dirname , 'bcrypt.linux-arm64-musl.node' ) )
231
+ localFileExisted = existsSync (
232
+ join ( __dirname , 'bcrypt.linux-arm64-musl.node' )
233
+ )
220
234
try {
221
235
if ( localFileExisted ) {
222
236
nativeBinding = require ( './bcrypt.linux-arm64-musl.node' )
@@ -227,7 +241,9 @@ switch (platform) {
227
241
loadError = e
228
242
}
229
243
} else {
230
- localFileExisted = existsSync ( join ( __dirname , 'bcrypt.linux-arm64-gnu.node' ) )
244
+ localFileExisted = existsSync (
245
+ join ( __dirname , 'bcrypt.linux-arm64-gnu.node' )
246
+ )
231
247
try {
232
248
if ( localFileExisted ) {
233
249
nativeBinding = require ( './bcrypt.linux-arm64-gnu.node' )
@@ -240,7 +256,9 @@ switch (platform) {
240
256
}
241
257
break
242
258
case 'arm' :
243
- localFileExisted = existsSync ( join ( __dirname , 'bcrypt.linux-arm-gnueabihf.node' ) )
259
+ localFileExisted = existsSync (
260
+ join ( __dirname , 'bcrypt.linux-arm-gnueabihf.node' )
261
+ )
244
262
try {
245
263
if ( localFileExisted ) {
246
264
nativeBinding = require ( './bcrypt.linux-arm-gnueabihf.node' )
@@ -253,7 +271,9 @@ switch (platform) {
253
271
break
254
272
case 'riscv64' :
255
273
if ( isMusl ( ) ) {
256
- localFileExisted = existsSync ( join ( __dirname , 'bcrypt.linux-riscv64-musl.node' ) )
274
+ localFileExisted = existsSync (
275
+ join ( __dirname , 'bcrypt.linux-riscv64-musl.node' )
276
+ )
257
277
try {
258
278
if ( localFileExisted ) {
259
279
nativeBinding = require ( './bcrypt.linux-riscv64-musl.node' )
@@ -264,7 +284,9 @@ switch (platform) {
264
284
loadError = e
265
285
}
266
286
} else {
267
- localFileExisted = existsSync ( join ( __dirname , 'bcrypt.linux-riscv64-gnu.node' ) )
287
+ localFileExisted = existsSync (
288
+ join ( __dirname , 'bcrypt.linux-riscv64-gnu.node' )
289
+ )
268
290
try {
269
291
if ( localFileExisted ) {
270
292
nativeBinding = require ( './bcrypt.linux-riscv64-gnu.node' )
@@ -277,7 +299,9 @@ switch (platform) {
277
299
}
278
300
break
279
301
case 's390x' :
280
- localFileExisted = existsSync ( join ( __dirname , 'bcrypt.linux-s390x-gnu.node' ) )
302
+ localFileExisted = existsSync (
303
+ join ( __dirname , 'bcrypt.linux-s390x-gnu.node' )
304
+ )
281
305
try {
282
306
if ( localFileExisted ) {
283
307
nativeBinding = require ( './bcrypt.linux-s390x-gnu.node' )
0 commit comments