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 logging here #102

Open github-actions[bot] opened 4 years ago

github-actions[bot] commented 4 years ago

Better logging here

Use vagrant's machine readable ouput

https://github.com/Gum-Joe/2Keys/blob/2bc9ab3637736d71e0d6dee0f340558990873227/detectors/detector-desktop/controller/src/setup/client/vm.ts#L27

            let provisioning = false; // Ensure we only print the message once
            vagrantUp.stdout.on("data", (data) => {
                // TODO: Better logging here
                // Use vagrant's machine readable ouput
                const dataStr: string = data.toString("utf8").trim();
                vagrantLogger.info(dataStr);
                if (dataStr.includes("Booting") && dataStr.includes("VM")) {
ndex 398f132..b613d72 100644
++ b/executors/@twokeys/executor-ahk/test/exec.ts

c0670ec8446c1d4b4943d85d019f56001a082f4d