Fix outputted index.js for cli

This commit is contained in:
Ryan Pandya 2024-11-08 19:54:54 -08:00
parent f56891c118
commit ef1d1f04e3

7
apps/cli/bin/index.js Executable file → Normal file
View File

@ -1,4 +1,3 @@
#!/nix/store/bmmjbvb8hishfrg78ygjlynpq3ikpl39-nodejs-20.15.1/bin/node
import process$1 from "node:process";
import os from "node:os";
import tty from "node:tty";
@ -401,7 +400,7 @@ for (const model of usedModels) {
styles[model] = {
get() {
const { level } = this;
return function (...arguments_) {
return function(...arguments_) {
const styler = createStyler(getModelAnsi(model, levelMapping[level], "color", ...arguments_), ansiStyles.color.close, this[STYLER]);
return createBuilder(this, styler, this[IS_EMPTY]);
};
@ -411,7 +410,7 @@ for (const model of usedModels) {
styles[bgModel] = {
get() {
const { level } = this;
return function (...arguments_) {
return function(...arguments_) {
const styler = createStyler(getModelAnsi(model, levelMapping[level], "bgColor", ...arguments_), ansiStyles.bgColor.close, this[STYLER]);
return createBuilder(this, styler, this[IS_EMPTY]);
};
@ -4374,7 +4373,7 @@ commander.Help = Help$1;
commander.CommanderError = CommanderError$1;
commander.InvalidArgumentError = InvalidArgumentError$1;
commander.InvalidOptionArgumentError = InvalidArgumentError$1;
(function (module, exports) {
(function(module, exports) {
const commander$1 = commander;
exports = module.exports = {};
exports.program = new commander$1.Command();