Gum-Joe / 2Keys

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

This causes issues, since other stuff can be ran t... #122

Open github-actions[bot] opened 4 years ago

github-actions[bot] commented 4 years ago

This causes issues, since other stuff can be ran that assumee the DIR is x

So lock files are made etc

https://github.com/Gum-Joe/2Keys/blob/489ebdf12e7f21da68ab3d3e586bf04fe9794212/packages/@twokeys/addons/src/registry.ts#L386

            this.logger.debug("Running command...");
            const oldCWD = this.directory;
            // FIXME: This causes issues, since other stuff can be ran that assumee the DIR is x 
            process.chdir(this.directory); // So lock files are made etc
            this.logger.debug(`Current CWD (before run): ${process.cwd()}`);
            this.logger.debug(`Changed dir to ${this.directory}.`);

a5b2858b0f7184b00c10b6177b7325c22a8ea0d8