Skip to content

Commit 8ffe486

Browse files
committed
refactor: Simplify HtmlBeautifier command execution
1 parent 9b1ca54 commit 8ffe486

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/formatter/htmlbeautifier.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,9 @@ export default class HtmlBeautifier {
4242
...shellOptions,
4343
});
4444

45-
const fullCommand = `${this.exe} ${this.cliOptions.join(" ")} (cwd: ${
46-
vscode.workspace.rootPath || __dirname
47-
}) with custom env: ${JSON.stringify(this.customEnvVars)}`;
45+
const fullCommand = `${this.exe} ${this.cliOptions.join(
46+
" "
47+
)} with custom env: ${JSON.stringify(this.customEnvVars)}`;
4848
this.logChannel.info(`Formatting ERB with command: ${fullCommand}`);
4949

5050
if (!htmlbeautifier.stdin || !htmlbeautifier.stdout) {

0 commit comments

Comments
 (0)