* 克隆当前环境
()
| 133 | */ |
| 134 | merge(other: Record<string, string>): this { |
| 135 | for (const [key, value] of Object.entries(other)) { |
| 136 | this.set(key, value); |
| 137 | } |
| 138 | return this; |
| 139 | } |
| 140 | |
| 141 | /** |
| 142 | * 应用 CmdOverrides 中的环境变量 |
| 143 | */ |
| 144 | withProfile(cmd?: CmdOverrides): ExecutionEnv { |