@cenk1cenk2/oclif-common 3.2.1 → 3.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.js +2 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1050,7 +1050,7 @@ var Command = class extends import_core2.Command {
1050
1050
  }
1051
1051
  exit(code) {
1052
1052
  this.logger.trace("Exitting with code: %d", code);
1053
- this.exit(code ?? 0);
1053
+ process.exit(code ?? 0);
1054
1054
  }
1055
1055
  runTasks() {
1056
1056
  return this.tasks.runAll();
@@ -1124,7 +1124,7 @@ var ConfigCommand = class extends Command {
1124
1124
  message: "Please select what to do with the configuration.",
1125
1125
  choices: Object.keys(this.choices)
1126
1126
  });
1127
- return this.choices[response]();
1127
+ return this.choices[response].bind(this)();
1128
1128
  }
1129
1129
  };
1130
1130
  __name(ConfigCommand, "ConfigCommand");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cenk1cenk2/oclif-common",
3
- "version": "3.2.1",
3
+ "version": "3.2.2",
4
4
  "description": "Oclif common package for oclif2 projects.",
5
5
  "repository": "https://gitlab.kilic.dev/libraries/oclif-tools",
6
6
  "author": {