Skip to content

Commit 3ee8e61

Browse files
committed
feat: temp debug code
temp debug code
1 parent 098be31 commit 3ee8e61

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

packages/fiori-mcp-server/src/tools/list-functionalities.ts

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
1-
import { join } from 'path';
21
import { PageEditorApi, SapuxFtfsFileIO, type TreeNode, type TreeNodeProperty } from '../page-editor-api';
32
import type { Functionality, ListFunctionalitiesInput, ListFunctionalitiesOutput } from '../types';
43
import { FUNCTIONALITIES_DETAILS } from './functionalities';
54
import { resolveApplication } from './utils';
65
import type { ApplicationAccess } from '@sap-ux/project-access';
7-
import { writeFile } from 'fs';
86

97
/**
108
* Lists all functionalities for a given application.
@@ -18,11 +16,6 @@ export async function listFunctionalities(
1816
): Promise<ListFunctionalitiesOutput | string> {
1917
const { appPath } = params;
2018
let functionalities: Functionality[] = [];
21-
const filePath = join(`C:/SAPDevelop/open-ux-tools3/packages/fiori-mcp-server/dist`, 'test-write.txt');
22-
console.log(filePath);
23-
writeFile(filePath, 'Writed!!!!', function (error) {
24-
// console.log('Saved!!! ' + filePath);
25-
});
2619
try {
2720
// If we need dynamic handlers then we can add additional method in interface of FUNCTIONALITIES_HANDLERS
2821
for (const functionality of FUNCTIONALITIES_DETAILS) {

0 commit comments

Comments
 (0)