scenv 0.4.0 → 0.4.1

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.cjs CHANGED
@@ -428,7 +428,7 @@ function scenv(name, options = {}) {
428
428
  const final = validated.data;
429
429
  if (wasPrompted) {
430
430
  const config = loadConfig();
431
- const savePrompt = config.savePrompt ?? "never";
431
+ const savePrompt = config.savePrompt ?? "ask";
432
432
  const shouldAskSave = savePrompt === "always" || savePrompt === "ask" && wasPrompted;
433
433
  if (shouldAskSave) {
434
434
  const callbacks = getCallbacks();
package/dist/index.js CHANGED
@@ -399,7 +399,7 @@ function scenv(name, options = {}) {
399
399
  const final = validated.data;
400
400
  if (wasPrompted) {
401
401
  const config = loadConfig();
402
- const savePrompt = config.savePrompt ?? "never";
402
+ const savePrompt = config.savePrompt ?? "ask";
403
403
  const shouldAskSave = savePrompt === "always" || savePrompt === "ask" && wasPrompted;
404
404
  if (shouldAskSave) {
405
405
  const callbacks = getCallbacks();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "scenv",
3
- "version": "0.4.0",
3
+ "version": "0.4.1",
4
4
  "description": "Environment and context variables with runtime-configurable resolution",
5
5
  "repository": { "type": "git", "url": "https://github.com/PKWadsy/scenv" },
6
6
  "publishConfig": { "access": "public", "provenance": true },