disallow spaces in env var names
This commit is contained in:
parent
434ac1ddb2
commit
46d5c58d95
|
@ -25,8 +25,14 @@
|
||||||
$: schema = buildSchema(noEncryptionKey)
|
$: schema = buildSchema(noEncryptionKey)
|
||||||
|
|
||||||
onMount(async () => {
|
onMount(async () => {
|
||||||
await environment.checkStatus()
|
try {
|
||||||
await environment.loadVariables()
|
await environment.checkStatus()
|
||||||
|
await environment.loadVariables()
|
||||||
|
} catch (error) {
|
||||||
|
notifications.error(
|
||||||
|
`Error loading environment variables: ${error.message}`
|
||||||
|
)
|
||||||
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
const buildSchema = noEncryptionKey => {
|
const buildSchema = noEncryptionKey => {
|
||||||
|
|
Loading…
Reference in New Issue