Gum-Joe / 2Keys

A easy to setup second keyboard, designed for everyone.
GNU General Public License v3.0
11 stars 4 forks source link

Better docs for TWOKEYS_NONINTERACTIVE - currently... #121

Open github-actions[bot] opened 4 years ago

github-actions[bot] commented 4 years ago

Better docs for TWOKEYS_NONINTERACTIVE - currently undocumented

https://github.com/Gum-Joe/2Keys/blob/2bc9ab3637736d71e0d6dee0f340558990873227/packages/@twokeys/core/src/prompts.ts#L185

        // HACK: Test shortcut to return default or 0 when TWOKEYS_NONINTERACTIVE is true.
        // TODO: Allow a --no-interactive options eventually
        // TODO: Better docs for TWOKEYS_NONINTERACTIVE - currently undocumented
        /* istanbul ignore next */
        if (this.nonInterative) {
            this.logger.warn(`Returning value of ${config.buttons[config.defaultButton ?? 0]} as TWOKEYS_NONINTERACTIVE is set.`);

0a99e4853391b5a6659c818efa5ddd98627d01f1