mirror of
				https://github.com/Swatinem/rust-cache
				synced 2025-11-04 06:29:10 +00:00 
			
		
		
		
	fix pretty printing
This commit is contained in:
		
							parent
							
								
									e1846a926d
								
							
						
					
					
						commit
						11be10514b
					
				
					 3 changed files with 21 additions and 21 deletions
				
			
		
							
								
								
									
										14
									
								
								dist/restore/index.js
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										14
									
								
								dist/restore/index.js
									
										
									
									
										vendored
									
									
								
							| 
						 | 
				
			
			@ -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
									
									
								
							
							
						
						
									
										14
									
								
								dist/save/index.js
									
										
									
									
										vendored
									
									
								
							| 
						 | 
				
			
			@ -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();
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -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>> {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue