Skip to content

Commit b2469c5

Browse files
committed
chore (vs-code-ext): format and update pnpm lock
1 parent a5dd8ff commit b2469c5

File tree

3 files changed

+2
-8
lines changed

3 files changed

+2
-8
lines changed

packages/vs-code-extension/src/extension.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,7 @@ export function activate(context: vscode.ExtensionContext) {
3939
previewPanel.onDidDispose(() => (previewPanel = undefined));
4040

4141
vscode.workspace.onDidSaveTextDocument((ev) => {
42-
if (
43-
ev.fileName ===
44-
vscode.window.activeTextEditor?.document.fileName
45-
) {
42+
if (ev.fileName === vscode.window.activeTextEditor?.document.fileName) {
4643
updatePreiewPanel(previewPanel);
4744
}
4845
});

packages/vs-code-extension/src/renderOpenEmailFile.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ export async function renderOpenEmailFile(
3737
const previewDirectory = join(emailsDirectory, extensionPreviewFolder);
3838

3939
// this hash is needed so the the import doesn't get from its cache
40-
const renderingHash = crypto.randomBytes(20).toString('hex');
40+
const renderingHash = crypto.randomBytes(20).toString("hex");
4141

4242
const builtFileWithCurrentContents = join(
4343
previewDirectory,

pnpm-lock.yaml

Lines changed: 0 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)