Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
function customizeCSS() {
const globalStyleLessFile = utility.addFileProtocol(
path.resolve(utility.extensionConfigDirectoryPath, "./style.less"),
);
vscode.commands.executeCommand(
"vscode.open",
vscode.Uri.parse(globalStyleLessFile),
);
}
function openMathJaxConfig() {
const mathjaxConfigFilePath = utility.addFileProtocol(
path.resolve(utility.extensionConfigDirectoryPath, "./mathjax_config.js"),
);
vscode.commands.executeCommand(
"vscode.open",
vscode.Uri.parse(mathjaxConfigFilePath),
);
}