1
0
Fork 0
mirror of synced 2024-06-02 23:41:09 -04:00

Compare commits

..

No commits in common. "9593510bd4a7045fc0c9eb4816e8d350e4b18461" and "d2f76a25933f97cd37ef94e3bf9c134b9c55a02a" have entirely different histories.

3 changed files with 5 additions and 7 deletions

View file

@ -42,11 +42,10 @@ class Shell(dotbot.Plugin):
else:
cmd = item
msg = None
if quiet:
if msg is not None:
self._log.lowinfo("%s" % msg)
elif msg is None:
if msg is None:
self._log.lowinfo(cmd)
elif quiet:
self._log.lowinfo("%s" % msg)
else:
self._log.lowinfo("%s [%s]" % (msg, cmd))
stdout = options.get("stdout", stdout)

View file

@ -20,9 +20,9 @@ test_expect_success 'run 2' '
EOF
'
# when no description, expect no output
# when no description, expect to see command
test_expect_success 'run 3' '
(run_dotbot | (! grep "echo banana")) <<EOF
(run_dotbot | grep "echo banana") <<EOF
- shell:
- command: echo banana
quiet: true

View file

@ -2,7 +2,6 @@ test_description='install shim works'
. '../test-lib.bash'
test_expect_success 'setup' '
git config --global protocol.file.allow always
cd ${DOTFILES}
git init
git submodule add ${BASEDIR} dotbot