From d5f77ca116fe38f5a05e0ce64657ab42d4d1bd48 Mon Sep 17 00:00:00 2001 From: Girish Ramakrishnan Date: Mon, 27 Jul 2015 11:56:16 -0700 Subject: [PATCH] Provide defaults for env vars --- common.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/common.js b/common.js index 3a75a4c..92dae1f 100644 --- a/common.js +++ b/common.js @@ -27,9 +27,9 @@ function verifyResponse(res, errorMessage) { function getOwner() { return { - username: process.env.APPSTORE_USERNAME, - password: process.env.APPSTORE_PASSWORD, - email: process.env.APPSTORE_EMAIL + username: process.env.APPSTORE_USERNAME || 'test', + password: process.env.APPSTORE_PASSWORD || 'test1234', + email: process.env.APPSTORE_EMAIL || 'test@cloudron.io' }; }