(agent: string)
| 1106 | } |
| 1107 | |
| 1108 | function getInstallCommand(agent: string) { |
| 1109 | if (agent === 'yarn') { |
| 1110 | return [agent] |
| 1111 | } |
| 1112 | return [agent, 'install'] |
| 1113 | } |
| 1114 | |
| 1115 | function getRunCommand(agent: string, script: string) { |
| 1116 | switch (agent) { |