Skip to content

Commit 93b863a

Browse files
[autofix.ci] apply automated fixes
1 parent a809b67 commit 93b863a

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

napi/parser/index.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,8 @@ let buffer, encoder;
7070
function parseSyncRaw(filename, sourceText, options) {
7171
if (!rawTransferSupported()) {
7272
throw new Error(
73-
'`experimentalRawTransfer` option is not supported on 32-bit or big-endian systems, '
74-
+ 'versions of NodeJS prior to v22.0.0, versions of Deno prior to v2.0.0, or other runtimes'
73+
'`experimentalRawTransfer` option is not supported on 32-bit or big-endian systems, ' +
74+
'versions of NodeJS prior to v22.0.0, versions of Deno prior to v2.0.0, or other runtimes',
7575
);
7676
}
7777

@@ -183,7 +183,7 @@ function rawTransferRuntimeSupported() {
183183
return !!match && match[1] * 1 >= 2;
184184
}
185185

186-
const isNode = global.process?.release?.name === "node";
186+
const isNode = global.process?.release?.name === 'node';
187187
if (!isNode) return false;
188188

189189
const match = process.version?.match(/^v(\d+)\./);

0 commit comments

Comments
 (0)