mirror of
https://github.com/directus/directus.git
synced 2026-02-12 23:35:06 -05:00
TS Config Modernization Program Part 3 of many (#17904)
* noImplicitOverride: true * noImplicitReturns: true * noPropertyAccessFromIndexSignature: true
This commit is contained in:
@@ -8,7 +8,7 @@ import { getConfigFromEnv } from '../utils/get-config-from-env';
|
||||
export const registerLocations = async (storage: StorageManager) => {
|
||||
const env = getEnv();
|
||||
|
||||
const locations = toArray(env.STORAGE_LOCATIONS);
|
||||
const locations = toArray(env['STORAGE_LOCATIONS']);
|
||||
|
||||
locations.forEach((location: string) => {
|
||||
location = location.trim();
|
||||
|
||||
Reference in New Issue
Block a user