UNPKG

@equinor/fusion-framework-cli

Version:

--- title: Fusion Framework CLI ---

10 lines 411 B
/** * Make sure the user has a valid azure token. */ export const requireToken = () => { var _a; if (!((_a = process === null || process === void 0 ? void 0 : process.env) === null || _a === void 0 ? void 0 : _a.FUSION_TOKEN)) { throw new Error('Missing required environment variable FUSION_TOKEN. Please set it before running this command.'); } }; //# sourceMappingURL=requireToken.js.map