Skip to content

Commit 978d153

Browse files
committed
Fixed #389 - No "Transformed" msg display if error occurs
Signed-off-by: Chin Yeung Li <[email protected]>
1 parent dfd9be4 commit 978d153

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/attributecode/cmd.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -461,7 +461,7 @@ def transform(location, output, configuration, quiet, verbose): # NOQA
461461
errors = transform_csv_to_csv(location, output, transformer)
462462

463463
errors_count = report_errors(errors, quiet, verbose)
464-
if not quiet:
464+
if not quiet and not errors:
465465
msg = 'Transformed CSV written to {output}.'.format(**locals())
466466
click.echo(msg)
467467
sys.exit(errors_count)

0 commit comments

Comments
 (0)