@lsst/pik-plugin-select 0.5.0 → 0.5.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.
package/dist/index.js CHANGED
@@ -111,7 +111,6 @@ const setCommand = new Command("set").description("Set a specific option for a s
111
111
  }
112
112
  });
113
113
  const BACK_VALUE = /* @__PURE__ */ Symbol("back");
114
- const EXIT_VALUE = /* @__PURE__ */ Symbol("exit");
115
114
  function isExitPromptError(error) {
116
115
  return error instanceof Error && error.name === "ExitPromptError";
117
116
  }
@@ -149,7 +148,7 @@ const switchCommand = new Command("switch").alias("sw").description("Interactive
149
148
  };
150
149
  }),
151
150
  new Separator(),
152
- { name: pc.dim("Exit"), value: EXIT_VALUE }
151
+ { name: pc.dim("← Back"), value: BACK_VALUE }
153
152
  ]
154
153
  });
155
154
  } catch (error) {
@@ -158,7 +157,7 @@ const switchCommand = new Command("switch").alias("sw").description("Interactive
158
157
  }
159
158
  throw error;
160
159
  }
161
- if (selectedChoice === EXIT_VALUE) {
160
+ if (selectedChoice === BACK_VALUE) {
162
161
  return;
163
162
  }
164
163
  let selectedOption;
@@ -1 +1 @@
1
- {"version":3,"file":"switch.d.ts","sourceRoot":"","sources":["../../../src/lib/commands/switch.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAOpC,OAAO,aAAa,CAAC;AAcrB,eAAO,MAAM,aAAa,SA0GtB,CAAC"}
1
+ {"version":3,"file":"switch.d.ts","sourceRoot":"","sources":["../../../src/lib/commands/switch.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAOpC,OAAO,aAAa,CAAC;AAarB,eAAO,MAAM,aAAa,SA0GtB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lsst/pik-plugin-select",
3
- "version": "0.5.0",
3
+ "version": "0.5.2",
4
4
  "description": "Config selector plugin for pik CLI",
5
5
  "type": "module",
6
6
  "license": "MIT",