Skip to content

Commit b77abcf

Browse files
committed
chore: use camelCase
1 parent 05546f7 commit b77abcf

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/core/sass.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -145,12 +145,12 @@ export async function compileSass(
145145
'// quarto-scss-analysis-annotation { "origin": null }',
146146
].join("\n\n");
147147

148-
const save_scss_prefix = Deno.env.get("QUARTO_SAVE_SCSS")
149-
if (save_scss_prefix) {
148+
const saveScssPrefix = Deno.env.get("QUARTO_SAVE_SCSS")
149+
if (saveScssPrefix) {
150150
// Save the SCSS before compilation
151151
const counterValue = counter++;
152152
Deno.writeTextFileSync(
153-
`${save_scss_prefix}-${counterValue}.scss`,
153+
`${saveScssPrefix}-${counterValue}.scss`,
154154
scssInput,
155155
);
156156
}
@@ -167,7 +167,7 @@ export async function compileSass(
167167
},
168168
);
169169

170-
if (save_scss_prefix) {
170+
if (saveScssPrefix) {
171171
// The compilation succeeded, we can update the file with additional info
172172
const partialOutput = Deno.readTextFileSync(result);
173173
// now we attempt to find the SCSS variables in the output
@@ -184,7 +184,7 @@ export async function compileSass(
184184
);
185185
scssInput = scssToWrite.join("\n");
186186
Deno.writeTextFileSync(
187-
`${save_scss_prefix}-${counter}.scss`,
187+
`${saveScssPrefix}-${counter}.scss`,
188188
scssInput,
189189
);
190190
}

0 commit comments

Comments
 (0)