Skip to content

Commit 19d6dab

Browse files
authored
Fix inverted --print/--no-print flag (#7524)
1 parent 810ef7f commit 19d6dab

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
kind: Fixes
2+
body: Fix inverted `--print/--no-print` flag
3+
time: 2023-05-05T13:25:45.949997-06:00
4+
custom:
5+
Author: dbeatty10 thomasgjerdekog
6+
Issue: "7517"

core/dbt/context/base.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -652,7 +652,7 @@ def print(msg: str) -> str:
652652
{% endmacro %}"
653653
"""
654654

655-
if not get_flags().PRINT:
655+
if get_flags().PRINT:
656656
print(msg)
657657
return ""
658658

0 commit comments

Comments
 (0)