@robconery/azx
Advanced tools
Comparing version 1.1.2 to 1.1.3
@@ -19,5 +19,4 @@ const { program } = require('commander') | ||
if (runtime === "dotnet") runtime = "DOTNETCORE|3.1"; | ||
if (runtime === "node") runtime = "NODE|10.14"; | ||
if (runtime === "node") runtime = "NODE|14-lts"; | ||
try { | ||
@@ -24,0 +23,0 @@ AppScript.createWebApp(settings, runtime); |
@@ -36,2 +36,3 @@ const assert = require("assert"); | ||
const commandString=commands.join(" "); | ||
console.log(commandString); | ||
return `az webapp config appsettings set -n ${appService.name} -g ${rg} --output none --settings ${commandString}`; | ||
@@ -38,0 +39,0 @@ |
@@ -14,4 +14,5 @@ const consola = require("consola"); | ||
for(let key of keys){ | ||
config.push(`${key}=${env[key]}`) | ||
config.push(`${key}="${env[key]}"`) | ||
} | ||
await Runner.run(WebApps.writeSettings(settings,config)); | ||
@@ -18,0 +19,0 @@ await Runner.run(WebApps.restart(settings)) |
@@ -32,3 +32,3 @@ const consola = require("consola"); | ||
//save this up | ||
const dbSetting = `DATABASE_URL=${connectionString}`; | ||
const dbSetting = `DATABASE_URL="${connectionString}"`; | ||
@@ -35,0 +35,0 @@ consola.info("Service created. Saving connection to your WebApp..."); |
{ | ||
"name": "@robconery/azx", | ||
"version": "1.1.2", | ||
"version": "1.1.3", | ||
"description": "A helper library that wraps the Azure CLI, providing a localized experience", | ||
@@ -5,0 +5,0 @@ "main": "./bin/azx.js", |
64884
1318