Skip to content

Commit

Permalink
supress repo info with --quiet
Browse files Browse the repository at this point in the history
  • Loading branch information
ninjamuffin99 committed Jul 30, 2024
1 parent af54279 commit 929017c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
Binary file modified run.n
Binary file not shown.
7 changes: 5 additions & 2 deletions src/haxelib/client/Main.hx
Original file line number Diff line number Diff line change
Expand Up @@ -558,9 +558,9 @@ class Main {
var listStr = '';

if (scope.isLocal)
listStr += 'Local Haxelib Repository at: ${scope.repository.path}\n';
Cli.printOptional('Local Haxelib Repository at: ${scope.repository.path}');
else
listStr += 'Global Haxelib at: ${scope.repository.path}\n';
Cli.printOptional('Global Haxelib at: ${scope.repository.path}');

for (library in libraryInfo) {
listStr += '${library.name}:';
Expand All @@ -577,6 +577,9 @@ class Main {
listStr += "\n";

}

listStr = listStr.trim();

Cli.print(listStr);

}
Expand Down

0 comments on commit 929017c

Please sign in to comment.