@replayio/app-building 1.19.0 → 1.19.1
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/container.js +9 -0
- package/package.json +1 -1
package/dist/container.js
CHANGED
|
@@ -283,6 +283,15 @@ async function stopRemoteContainerImpl(config, state) {
|
|
|
283
283
|
* If flyToken and flyApp are set, starts remotely; otherwise locally.
|
|
284
284
|
*/
|
|
285
285
|
export async function startContainer(config, repo) {
|
|
286
|
+
const { token, projectId, environment } = config.infisical;
|
|
287
|
+
if (!token || !projectId || !environment) {
|
|
288
|
+
const missing = [
|
|
289
|
+
!token && "token",
|
|
290
|
+
!projectId && "projectId",
|
|
291
|
+
!environment && "environment",
|
|
292
|
+
].filter(Boolean);
|
|
293
|
+
throw new Error(`Missing Infisical credentials: ${missing.join(", ")}. Containers cannot start without Infisical.`);
|
|
294
|
+
}
|
|
286
295
|
debugLog("startContainer config:", {
|
|
287
296
|
projectRoot: config.projectRoot,
|
|
288
297
|
flyApp: config.flyApp,
|