Skip to content

Commit

Permalink
style: apply automated linter fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
megalinter-bot committed Nov 28, 2023
1 parent b2fd9a2 commit 0229aed
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion packages/safe-ds-vscode/src/extension/mainClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ const acceptRunRequests = function (context: vscode.ExtensionContext) {
printOutputMessage(
`Placeholder value is (${message.id}): ${message.data.name} of type ${message.data.type} = ${message.data.value}`,
);
}, "placeholder_value");
}, 'placeholder_value');
addMessageCallback((message) => {
printOutputMessage(
`Placeholder was calculated (${message.id}): ${message.data.name} of type ${message.data.type}`,
Expand Down
6 changes: 3 additions & 3 deletions packages/safe-ds-vscode/src/extension/pythonServer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -215,8 +215,8 @@ export const executePipeline = async function (services: SafeDsServices, pipelin
const workspaceRelativeFilePath = path.relative(workspaceRoot, path.dirname(fsPath));
let modulePath = workspaceRelativeFilePath.replaceAll('/', '.');
// Special handling for main module
if (modulePath === mainPackage.join(".")) {
modulePath = "";
if (modulePath === mainPackage.join('.')) {
modulePath = '';
}
//
if (!codeMap.hasOwnProperty(modulePath)) {
Expand All @@ -236,7 +236,7 @@ export const executePipeline = async function (services: SafeDsServices, pipelin
createProgramMessage(id, {
code: codeMap,
main: {
modulepath: "", // TODO maybe change generator: path.relative(workspaceRoot, path.dirname(documentUri.fsPath)).replaceAll('/', '.').split(".").concat(mainPackage).filter(str => str.length !== 0).join("."),
modulepath: '', // TODO maybe change generator: path.relative(workspaceRoot, path.dirname(documentUri.fsPath)).replaceAll('/', '.').split(".").concat(mainPackage).filter(str => str.length !== 0).join("."),
module: mainModuleName,
pipeline: mainPipelineName,
},
Expand Down

0 comments on commit 0229aed

Please sign in to comment.