1
0
Fork 0
mirror of synced 2024-10-06 04:54:52 +13:00

disallow spaces in env var names

This commit is contained in:
Peter Clement 2023-02-01 14:43:31 +00:00
parent 434ac1ddb2
commit 46d5c58d95

View file

@ -25,8 +25,14 @@
$: schema = buildSchema(noEncryptionKey)
onMount(async () => {
await environment.checkStatus()
await environment.loadVariables()
try {
await environment.checkStatus()
await environment.loadVariables()
} catch (error) {
notifications.error(
`Error loading environment variables: ${error.message}`
)
}
})
const buildSchema = noEncryptionKey => {