@staff0rd/assist 0.295.0 → 0.296.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +7 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -6,7 +6,7 @@ import { Command } from "commander";
|
|
|
6
6
|
// package.json
|
|
7
7
|
var package_default = {
|
|
8
8
|
name: "@staff0rd/assist",
|
|
9
|
-
version: "0.
|
|
9
|
+
version: "0.296.0",
|
|
10
10
|
type: "module",
|
|
11
11
|
main: "dist/index.js",
|
|
12
12
|
bin: {
|
|
@@ -8889,6 +8889,12 @@ async function analyze(pattern2) {
|
|
|
8889
8889
|
console.log();
|
|
8890
8890
|
console.log(chalk91.bold.underline("Maintainability Index"));
|
|
8891
8891
|
await maintainability(file);
|
|
8892
|
+
console.log();
|
|
8893
|
+
console.log(
|
|
8894
|
+
chalk91.dim(
|
|
8895
|
+
"To improve the maintainability index, extract functions and logic out of this file into separate, smaller modules. Collapsing whitespace or removing comments is not the goal."
|
|
8896
|
+
)
|
|
8897
|
+
);
|
|
8892
8898
|
return;
|
|
8893
8899
|
}
|
|
8894
8900
|
await maintainability(searchPattern);
|