Skip to content
This repository was archived by the owner on Jun 15, 2025. It is now read-only.

Commit 2628fda

Browse files
committed
add Socket 0.5 compatibilty
1 parent 3ee2678 commit 2628fda

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

index.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -286,6 +286,10 @@ async function main (argv) {
286286
if (line.includes('script = ')) {
287287
return line.replace(line, 'script = "node build.js"')
288288
}
289+
// Socket 0.5 compatibility
290+
if (line.includes('forward_arguments = ')) {
291+
return line.replace(line, 'forward_arguments = true')
292+
}
289293
return line
290294
}).join('\n')
291295

0 commit comments

Comments
 (0)