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}.`);
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
a5b2858b0f7184b00c10b6177b7325c22a8ea0d8