diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2016-12-13 03:20:58 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2016-12-13 03:20:58 +0300 |
commit | 1ab0697d268c27a0d7871e0f6bcb6ba1a165fb77 (patch) | |
tree | 5e36eec58bf32ded1a266d8310c1ada3265db0e1 /apps/RemovePath.hs | |
parent | bugfix (withPrompt no longer swallows IOError) (diff) | |
download | windows-env-1ab0697d268c27a0d7871e0f6bcb6ba1a165fb77.tar.gz windows-env-1ab0697d268c27a0d7871e0f6bcb6ba1a165fb77.zip |
setenv: prompt message update
It also now uncoditionally overrides variables (i.e. even when the
corresponding registy values are not strings).
Diffstat (limited to 'apps/RemovePath.hs')
-rw-r--r-- | apps/RemovePath.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/RemovePath.hs b/apps/RemovePath.hs index 7b8f1ac..55e03f1 100644 --- a/apps/RemovePath.hs +++ b/apps/RemovePath.hs @@ -79,6 +79,6 @@ removePath options = runExceptT doRemovePath >>= either ioError return let newValue = Env.pathJoin newPaths let promptAnd = if skipPrompt then withoutPrompt - else withPrompt $ engraveMessage profile varName oldValue newValue + else withPrompt $ oldNewMessage profile varName oldValue newValue let engrave = Env.engrave profile varName newValue void $ promptAnd engrave |