3 lines
166 B
JavaScript
3 lines
166 B
JavaScript
|
|
import {PROFILES} from './profiles.js';
|
||
|
|
|
||
|
|
export function validateProfileId(id){if(!PROFILES[id])throw new RangeError(`unknown environment profile: ${id}`);return id}
|