@@ -270,25 +270,6 @@ export async function spawnCdxgenDlx(
270270 )
271271}
272272
273- /**
274- * Helper to spawn synp with dlx.
275- */
276- export async function spawnSynpDlx (
277- args : string [ ] | readonly string [ ] ,
278- options ?: DlxOptions | undefined ,
279- spawnExtra ?: SpawnExtra | undefined ,
280- ) : Promise < ShadowBinResult > {
281- return await spawnDlx (
282- {
283- name : 'synp' ,
284- version : `${ ENV . INLINED_SOCKET_CLI_SYNP_VERSION } ` ,
285- } ,
286- args ,
287- { force : false , ...options } ,
288- spawnExtra ,
289- )
290- }
291-
292273/**
293274 * Helper to spawn Socket Firewall (sfw) with dlx.
294275 * If SOCKET_CLI_SFW_LOCAL_PATH environment variable is set, uses the local
@@ -382,3 +363,22 @@ export async function spawnSocketPatchDlx(
382363 spawnExtra ,
383364 )
384365}
366+
367+ /**
368+ * Helper to spawn synp with dlx.
369+ */
370+ export async function spawnSynpDlx (
371+ args : string [ ] | readonly string [ ] ,
372+ options ?: DlxOptions | undefined ,
373+ spawnExtra ?: SpawnExtra | undefined ,
374+ ) : Promise < ShadowBinResult > {
375+ return await spawnDlx (
376+ {
377+ name : 'synp' ,
378+ version : `${ ENV . INLINED_SOCKET_CLI_SYNP_VERSION } ` ,
379+ } ,
380+ args ,
381+ { force : false , ...options } ,
382+ spawnExtra ,
383+ )
384+ }
0 commit comments