disallow spaces in env var names
This commit is contained in:
parent
434ac1ddb2
commit
46d5c58d95
|
@ -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 => {
|
||||
|
|
Loading…
Reference in New Issue