freestyle-sandboxes 0.0.43 → 0.0.44
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/index.ts +1 -1
package/dist/index.cjs
CHANGED
|
@@ -220,7 +220,7 @@ ${JSON.stringify(
|
|
|
220
220
|
* Deploy a Web project to a sandbox.
|
|
221
221
|
*/
|
|
222
222
|
async deployWeb(source, config) {
|
|
223
|
-
if (Array.isArray(config.build
|
|
223
|
+
if (Array.isArray(config.build?.command)) {
|
|
224
224
|
config.build.command = config.build.command.join(" && ");
|
|
225
225
|
}
|
|
226
226
|
const response = await handleDeployWebV2({
|
package/dist/index.mjs
CHANGED
|
@@ -218,7 +218,7 @@ ${JSON.stringify(
|
|
|
218
218
|
* Deploy a Web project to a sandbox.
|
|
219
219
|
*/
|
|
220
220
|
async deployWeb(source, config) {
|
|
221
|
-
if (Array.isArray(config.build
|
|
221
|
+
if (Array.isArray(config.build?.command)) {
|
|
222
222
|
config.build.command = config.build.command.join(" && ");
|
|
223
223
|
}
|
|
224
224
|
const response = await handleDeployWebV2({
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -144,7 +144,7 @@ export class FreestyleSandboxes {
|
|
|
144
144
|
});
|
|
145
145
|
}
|
|
146
146
|
): Promise<FreestyleDeployWebSuccessResponseV2> {
|
|
147
|
-
if (Array.isArray(config.build
|
|
147
|
+
if (Array.isArray(config.build?.command)) {
|
|
148
148
|
config.build.command = config.build.command.join(" && ") as string;
|
|
149
149
|
}
|
|
150
150
|
|