mirror of
https://github.com/smogon/sprites.git
synced 2026-08-20 08:45:06 -05:00
deploy: print verbosity level
This commit is contained in:
@@ -74,9 +74,11 @@ export class ActionQueue {
|
||||
}
|
||||
}
|
||||
|
||||
print() {
|
||||
print(level : 'errors' | 'all') {
|
||||
for (const entry of this.log) {
|
||||
if (entry.type === 'Copy') {
|
||||
if (entry.valid === 'Success' && level === 'errors')
|
||||
continue;
|
||||
let addendum = '';
|
||||
if (entry.valid !== 'Success') {
|
||||
addendum = ` (${entry.valid})`;
|
||||
|
||||
Reference in New Issue
Block a user