Skip to content

Commit fc87c0e

Browse files
authored
👌 IMPROVE: only print config on -v (#1)
1 parent 5017c02 commit fc87c0e

File tree

7 files changed

+7
-7
lines changed

7 files changed

+7
-7
lines changed

scss_compile/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ def run_compile(
146146
)
147147
except IndexError:
148148
raise click.ClickException(f"Malformed translate option: '{translate}'")
149-
if not quiet:
149+
if verbose:
150150
config_str = yaml.dump(
151151
{
152152
"Compile configuration": {

tests/example_scss/example2.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
div {
2-
color: green;
2+
color: orange;
33
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
div {
2-
color: blue;
2+
color: purple;
33
}

tests/output_css/example1#2ca2a05a3f535e6d5f99b67f6a63e568.css renamed to tests/output_css/example1#8af2a38e07abe2434006dce9a0a4834c.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/output_css/example1.scss.map.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@
77
"partials/_example1.scss"
88
],
99
"names": [],
10-
"mappings": "ACAA,AAAA,GAAG,AAAC,CACA,KAAK,CAAE,IAAI,CACd,ADDD,AAAA,GAAG,AAAC,CACA,KAAK,CAAE,KAAK,CACf"
10+
"mappings": "ACAA,AAAA,GAAG,AAAC,CACA,KAAK,CAAE,MAAM,CAChB,ADDD,AAAA,GAAG,AAAC,CACA,KAAK,CAAE,KAAK,CACf"
1111
}

tests/output_css/example2#fce09556d93c63890abdf532c2c5c787.css renamed to tests/output_css/example2#254215e68d2944bf0c90a55a995409ca.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/output_css/example2.scss.map.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@
66
"example2.scss"
77
],
88
"names": [],
9-
"mappings": "AAAA,AAAA,GAAG,AAAC,CACA,KAAK,CAAE,KAAK,CACf"
9+
"mappings": "AAAA,AAAA,GAAG,AAAC,CACA,KAAK,CAAE,MAAM,CAChB"
1010
}

0 commit comments

Comments
 (0)