mirror of
				https://github.com/actions/cache.git
				synced 2025-11-04 13:29:10 +08:00 
			
		
		
		
	Fixed formatting
This commit is contained in:
		@@ -1,5 +1,5 @@
 | 
				
			|||||||
import { StateProvider } from "./stateProvider";
 | 
					 | 
				
			||||||
import restoreImpl from "./restoreImpl";
 | 
					import restoreImpl from "./restoreImpl";
 | 
				
			||||||
 | 
					import { StateProvider } from "./stateProvider";
 | 
				
			||||||
 | 
					
 | 
				
			||||||
async function run(): Promise<void> {
 | 
					async function run(): Promise<void> {
 | 
				
			||||||
    await restoreImpl(new StateProvider());
 | 
					    await restoreImpl(new StateProvider());
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -5,7 +5,9 @@ import { Events, Inputs, Outputs, State } from "./constants";
 | 
				
			|||||||
import { IStateProvider } from "./stateProvider";
 | 
					import { IStateProvider } from "./stateProvider";
 | 
				
			||||||
import * as utils from "./utils/actionUtils";
 | 
					import * as utils from "./utils/actionUtils";
 | 
				
			||||||
 | 
					
 | 
				
			||||||
async function restoreImpl(stateProvider: IStateProvider): Promise<string | undefined> {
 | 
					async function restoreImpl(
 | 
				
			||||||
 | 
					    stateProvider: IStateProvider
 | 
				
			||||||
 | 
					): Promise<string | undefined> {
 | 
				
			||||||
    try {
 | 
					    try {
 | 
				
			||||||
        if (!utils.isCacheFeatureAvailable()) {
 | 
					        if (!utils.isCacheFeatureAvailable()) {
 | 
				
			||||||
            utils.setCacheHitOutput(false);
 | 
					            utils.setCacheHitOutput(false);
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user