Commit 541cd0e
committed
fix(dlx): support Coana CLI binary execution via SOCKET_CLI_COANA_LOCAL_PATH
Update SOCKET_CLI_COANA_LOCAL_PATH to support the Coana CLI binary.
Check if local path is a binary (.js/.mjs extension check) and execute
directly instead of always using node.
Based on #917
Ported from v1.x commit 9d0164c1 parent 25fcb52 commit 541cd0e
1 file changed
+12
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
145 | 145 | | |
146 | 146 | | |
147 | 147 | | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
148 | 151 | | |
149 | 152 | | |
150 | 153 | | |
151 | 154 | | |
152 | 155 | | |
153 | | - | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
154 | 162 | | |
155 | 163 | | |
156 | 164 | | |
157 | 165 | | |
158 | 166 | | |
| 167 | + | |
| 168 | + | |
159 | 169 | | |
160 | 170 | | |
161 | | - | |
| 171 | + | |
162 | 172 | | |
163 | 173 | | |
164 | 174 | | |
| |||
0 commit comments