mirror of
				https://code.forgejo.org/actions/cache.git
				synced 2025-11-04 06:19:11 +00:00 
			
		
		
		
	Removed comments
This commit is contained in:
		
							parent
							
								
									0c2d18e609
								
							
						
					
					
						commit
						61aa90bfc3
					
				
					 5 changed files with 0 additions and 11 deletions
				
			
		| 
						 | 
				
			
			@ -3,7 +3,6 @@ import * as core from "@actions/core";
 | 
			
		|||
import { State } from "./constants";
 | 
			
		||||
 | 
			
		||||
export interface IStateProvider {
 | 
			
		||||
    //setOutput(key: string, value: string): void;
 | 
			
		||||
    setState(key: string, value: string): void;
 | 
			
		||||
    getState(key: string): string;
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -29,13 +28,11 @@ class StateProviderBase implements IStateProvider {
 | 
			
		|||
}
 | 
			
		||||
 | 
			
		||||
export class StateProvider extends StateProviderBase {
 | 
			
		||||
    //setOutput = core.setOutput;
 | 
			
		||||
    setState = core.saveState;
 | 
			
		||||
    getState = core.getState;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
export class NullStateProvider extends StateProviderBase {
 | 
			
		||||
    //setOutput = core.setOutput;
 | 
			
		||||
    setState = core.setOutput;
 | 
			
		||||
    // eslint-disable-next-line @typescript-eslint/no-unused-vars
 | 
			
		||||
    getState = (key: string) => "";
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue