Skip to content

Commit

Permalink
fix: cli cyclic info
Browse files Browse the repository at this point in the history
  • Loading branch information
antoine-coulon committed Oct 28, 2022
1 parent cba47da commit 96346c9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
6 changes: 1 addition & 5 deletions packages/skott/bin/main.ts
Expand Up @@ -238,11 +238,7 @@ function displayCircularDependenciesPaths(
circularDependencies: string[][]
): void {
circularDependencies.forEach((circularDependency, index) => {
const circularDependencySeverity =
circularDependency.length > 4 ? "good luck" : "easy one";
const cyclicIndex = kleur
.bold()
.red(`${index + 1}. ${kleur.underline(circularDependencySeverity)}`);
const cyclicIndex = kleur.bold().red(`${index + 1}.`);
console.log(
`\n ${cyclicIndex} \n\n ${kleur.bold().red("->")} ${kleur
.bold()
Expand Down
2 changes: 1 addition & 1 deletion packages/skott/package.json
@@ -1,6 +1,6 @@
{
"name": "skott",
"version": "0.9.0",
"version": "0.9.1",
"description": "Automatically construct and visualize Graphs generated from your Node.js project",
"author": "Antoine Coulon",
"license": "MIT",
Expand Down

0 comments on commit 96346c9

Please sign in to comment.