Skip to content

Commit

Permalink
Fix mustache import in unit tests
Browse files Browse the repository at this point in the history
Signed-off-by: Timothy Johnson <[email protected]>
  • Loading branch information
t1m0thyj committed Aug 2, 2024
1 parent c7c4770 commit 17a3ccc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/zowe-explorer-api/src/vscode/ui/WebView.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
*
*/

import mustache from "mustache";
import Mustache = require("mustache");
import HTMLTemplate from "./utils/HTMLTemplate";
import { Types } from "../../Types";
import { Disposable, ExtensionContext, Uri, ViewColumn, WebviewPanel, window } from "vscode";
Expand Down Expand Up @@ -74,7 +74,7 @@ export class WebView {
script: this.panel.webview.asWebviewUri(this.uris.disk.script),
};

const builtHtml = mustache.render(HTMLTemplate, {
const builtHtml = Mustache.render(HTMLTemplate, {
uris: this.uris,
nonce: this.nonce,
title: this.title,
Expand Down

0 comments on commit 17a3ccc

Please sign in to comment.