fix pretty printing

This commit is contained in:
Arpad Borsos 2022-07-09 15:25:09 +02:00
parent e1846a926d
commit 11be10514b
No known key found for this signature in database
GPG Key ID: FC7BCA77824B3298
3 changed files with 21 additions and 21 deletions

14
dist/restore/index.js vendored
View File

@ -61808,8 +61808,12 @@ class CacheConfig {
return self;
}
printInfo() {
lib_core.info(`Workspaces:`);
for (const workspace of this.workspaces) {
lib_core.info(` ${workspace.root}`);
}
lib_core.info(`Cache Paths:`);
for (const path in this.cachePaths) {
for (const path of this.cachePaths) {
lib_core.info(` ${path}`);
}
lib_core.info(`Restore Key:`);
@ -61820,17 +61824,13 @@ class CacheConfig {
lib_core.info(` - ${this.keyPrefix}`);
lib_core.info(`.. Environment considered:`);
lib_core.info(` - Rust Version: ${this.keyRust}`);
for (const env in this.keyEnvs) {
for (const env of this.keyEnvs) {
lib_core.info(` - ${env}`);
}
lib_core.info(`.. Lockfiles considered:`);
for (const file in this.keyFiles) {
for (const file of this.keyFiles) {
lib_core.info(` - ${file}`);
}
lib_core.info(`Workspaces configured:`);
for (const workspace of this.workspaces) {
lib_core.info(` ${workspace.root}`);
}
}
async getCargoBins() {
const bins = new Set();

14
dist/save/index.js vendored
View File

@ -61808,8 +61808,12 @@ class CacheConfig {
return self;
}
printInfo() {
core.info(`Workspaces:`);
for (const workspace of this.workspaces) {
core.info(` ${workspace.root}`);
}
core.info(`Cache Paths:`);
for (const path in this.cachePaths) {
for (const path of this.cachePaths) {
core.info(` ${path}`);
}
core.info(`Restore Key:`);
@ -61820,17 +61824,13 @@ class CacheConfig {
core.info(` - ${this.keyPrefix}`);
core.info(`.. Environment considered:`);
core.info(` - Rust Version: ${this.keyRust}`);
for (const env in this.keyEnvs) {
for (const env of this.keyEnvs) {
core.info(` - ${env}`);
}
core.info(`.. Lockfiles considered:`);
for (const file in this.keyFiles) {
for (const file of this.keyFiles) {
core.info(` - ${file}`);
}
core.info(`Workspaces configured:`);
for (const workspace of this.workspaces) {
core.info(` ${workspace.root}`);
}
}
async getCargoBins() {
const bins = new Set();

View File

@ -180,8 +180,12 @@ export class CacheConfig {
}
printInfo() {
core.info(`Workspaces:`);
for (const workspace of this.workspaces) {
core.info(` ${workspace.root}`);
}
core.info(`Cache Paths:`);
for (const path in this.cachePaths) {
for (const path of this.cachePaths) {
core.info(` ${path}`);
}
core.info(`Restore Key:`);
@ -192,17 +196,13 @@ export class CacheConfig {
core.info(` - ${this.keyPrefix}`);
core.info(`.. Environment considered:`);
core.info(` - Rust Version: ${this.keyRust}`);
for (const env in this.keyEnvs) {
for (const env of this.keyEnvs) {
core.info(` - ${env}`);
}
core.info(`.. Lockfiles considered:`);
for (const file in this.keyFiles) {
for (const file of this.keyFiles) {
core.info(` - ${file}`);
}
core.info(`Workspaces configured:`);
for (const workspace of this.workspaces) {
core.info(` ${workspace.root}`);
}
}
public async getCargoBins(): Promise<Set<string>> {