mirror of
				https://github.com/actions/cache.git
				synced 2025-11-04 13:29:10 +08:00 
			
		
		
		
	Calling methods from same file
This commit is contained in:
		@@ -5,4 +5,6 @@ async function restore(): Promise<void> {
 | 
				
			|||||||
    await run(new StateOutputSetter());
 | 
					    await run(new StateOutputSetter());
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					restore();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
export default restore;
 | 
					export default restore;
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -5,4 +5,6 @@ async function restoreOnly(): Promise<void> {
 | 
				
			|||||||
    await run(new NonStateOutputSetter());
 | 
					    await run(new NonStateOutputSetter());
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					restoreOnly();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
export default restoreOnly;
 | 
					export default restoreOnly;
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user