File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -71,11 +71,11 @@ function validateName(name: string) {
7171 }
7272 throw new Error ( 'Name must not be empty' ) ;
7373}
74- function validatePlatform ( os : string ) {
74+ function validateOs ( os : string ) {
7575 if ( os ) {
7676 return ;
7777 }
78- throw new Error ( 'Platform must not be empty' ) ;
78+ throw new Error ( 'Os must not be empty' ) ;
7979}
8080
8181export async function configFromJobInput ( ) : Promise < Config > {
@@ -86,7 +86,7 @@ export async function configFromJobInput(): Promise<Config> {
8686 const os : string = core . getInput ( 'os' ) ;
8787
8888 validateName ( name ) ;
89- validatePlatform ( os ) ;
89+ validateOs ( os ) ;
9090 validateToolType ( tool ) ;
9191 outputFilePath = await validateOutputFilePath ( outputFilePath ) ;
9292 dataOutPath = await validateDataOutPath ( dataOutPath ) ;
You can’t perform that action at this time.
0 commit comments