test
This commit is contained in:
parent
9604d509c0
commit
cb52d52c74
1 changed files with 6 additions and 2 deletions
|
|
@ -72,7 +72,8 @@ class Application {
|
|||
_jenkinsData = DataJenkins.fromJson(jenkinsMap!);
|
||||
|
||||
var content = await getBuildData();
|
||||
await composeANSIPrint(content, Color.green);
|
||||
// await composeANSIPrint(content, Color.green);
|
||||
await CLI.printString(CLI.style(content, color: Color.green));
|
||||
buildMap = getMapFromYaml(content);
|
||||
break;
|
||||
|
||||
|
|
@ -85,6 +86,7 @@ class Application {
|
|||
break;
|
||||
}
|
||||
|
||||
return;
|
||||
await execute(buildMap!);
|
||||
}
|
||||
|
||||
|
|
@ -92,7 +94,9 @@ class Application {
|
|||
var list = value.split('\n');
|
||||
List<String> listNew = [];
|
||||
for (var item in list) {
|
||||
listNew.add(CLI.style(item, color: color));
|
||||
var msg = CLI.style(item, color: color);
|
||||
listNew.add(item);
|
||||
print(msg);
|
||||
}
|
||||
await CLI.print(listNew);
|
||||
return simpleFuture;
|
||||
|
|
|
|||
Loading…
Reference in a new issue