From 3e064be8020ed1eccc5cddcac5ab355320ebccb5 Mon Sep 17 00:00:00 2001 From: Minteck Date: Thu, 7 Jul 2022 11:06:12 +0200 Subject: m. working on features scoots doesn't want to work on --- Library/SDK/Modules/Strawberry.SystemInfo.js | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'Library/SDK/Modules/Strawberry.SystemInfo.js') diff --git a/Library/SDK/Modules/Strawberry.SystemInfo.js b/Library/SDK/Modules/Strawberry.SystemInfo.js index b52b1c2..cf44c52 100644 --- a/Library/SDK/Modules/Strawberry.SystemInfo.js +++ b/Library/SDK/Modules/Strawberry.SystemInfo.js @@ -57,6 +57,9 @@ module.exports = { if (proc['name'].startsWith(global._STRAWBERRY_SYSTEM_ROOT)) { proc['name'] = "/System" + proc['name'].substring(global._STRAWBERRY_SYSTEM_ROOT.length); } + if (proc['name'].includes("/node_modules/")) { + proc['name'] = chalk.gray(proc['name']); + } if (proc['name'].startsWith("/Strawberry")) { proc['name'] = proc['name'].substring(11); } @@ -107,6 +110,9 @@ module.exports = { if (child['name'].startsWith("/Strawberry")) { child['name'] = child['name'].substring(11); } + if (child['name'].includes("/node_modules/")) { + child['name'] = chalk.gray(child['name']); + } if (child['name'].startsWith("/System/Library/SDK/")) { child['name'] = chalk.yellow(child['name']); } @@ -157,6 +163,9 @@ module.exports = { if (child2['name'].startsWith("/Strawberry")) { child2['name'] = child2['name'].substring(11); } + if (child2['name'].includes("/node_modules/")) { + child2['name'] = chalk.gray(child2['name']); + } if (child2['name'].startsWith("/System/Library/SDK/")) { child2['name'] = chalk.yellow(child2['name']); } -- cgit