From 7de87013ce48d3acbdb98a769e38712380802e6e Mon Sep 17 00:00:00 2001 From: Gigin George Date: Sat, 12 Oct 2024 03:17:15 +0530 Subject: [PATCH] Linting --- scripts/setup-care-apps.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/setup-care-apps.js b/scripts/setup-care-apps.js index f11be4ddb7b..2b4b723dd0e 100644 --- a/scripts/setup-care-apps.js +++ b/scripts/setup-care-apps.js @@ -25,6 +25,7 @@ if (!fs.existsSync(appsDir)) { fs.mkdirSync(appsDir); } +// Clone or pull care apps appsConfig.forEach((app) => { const appDir = path.join(appsDir, app.name); if (!fs.existsSync(appDir)) { @@ -49,9 +50,9 @@ const importApps = appsConfig.map((app) => ({ ), })); -// Add the following code to generate pluginMap.ts +// Generate pluginMap.ts const pluginMapPath = path.join(__dirname, "..", "src", "pluginMap.ts"); -const pluginMapContent = `import { PluginManifest } from './pluginTypes'; +const pluginMapContent = `import { PluginManifest } from "./pluginTypes"; ${importApps .map(