mirror of
				https://github.com/actions/setup-dotnet.git
				synced 2025-11-04 12:13:46 +00:00 
			
		
		
		
	Fix warning message
This commit is contained in:
		
							parent
							
								
									536591c258
								
							
						
					
					
						commit
						8ff94b70a1
					
				
							
								
								
									
										4
									
								
								dist/index.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								dist/index.js
									
									
									
									
										vendored
									
									
								
							@ -285,7 +285,7 @@ class DotnetCoreInstaller {
 | 
			
		||||
                        command += ` -Quality ${this.quality}`;
 | 
			
		||||
                    }
 | 
			
		||||
                    else {
 | 
			
		||||
                        core.warning("'dotnet-quality' input can't be used with exact version of .NET. 'dotnet-quality' input is ignored.");
 | 
			
		||||
                        core.warning(`'dotnet-quality' input can't be used with exact version: ${versionObject.value} of .NET. 'dotnet-quality' input is ignored.`);
 | 
			
		||||
                    }
 | 
			
		||||
                }
 | 
			
		||||
                if (process.env['https_proxy'] != null) {
 | 
			
		||||
@ -330,7 +330,7 @@ class DotnetCoreInstaller {
 | 
			
		||||
                        scriptArguments.push("--quality", this.quality);
 | 
			
		||||
                    }
 | 
			
		||||
                    else {
 | 
			
		||||
                        core.warning("'dotnet-quality' input can't be used with exact version of .NET. 'dotnet-quality' input is ignored.");
 | 
			
		||||
                        core.warning(`'dotnet-quality' input can't be used with exact version: ${versionObject.value} of .NET. 'dotnet-quality' input is ignored.`);
 | 
			
		||||
                    }
 | 
			
		||||
                }
 | 
			
		||||
                if (IS_LINUX) {
 | 
			
		||||
 | 
			
		||||
@ -120,7 +120,7 @@ export class DotnetCoreInstaller {
 | 
			
		||||
        if (versionObject.qualityFlag) {
 | 
			
		||||
          command += ` -Quality ${this.quality}`;
 | 
			
		||||
        } else {
 | 
			
		||||
          core.warning("'dotnet-quality' input can't be used with exact version of .NET. 'dotnet-quality' input is ignored.");
 | 
			
		||||
          core.warning(`'dotnet-quality' input can't be used with exact version: ${versionObject.value} of .NET. 'dotnet-quality' input is ignored.`);
 | 
			
		||||
        }
 | 
			
		||||
      }
 | 
			
		||||
        
 | 
			
		||||
@ -176,7 +176,7 @@ export class DotnetCoreInstaller {
 | 
			
		||||
        if (versionObject.qualityFlag){
 | 
			
		||||
          scriptArguments.push("--quality", this.quality);
 | 
			
		||||
        } else {
 | 
			
		||||
          core.warning("'dotnet-quality' input can't be used with exact version of .NET. 'dotnet-quality' input is ignored.");
 | 
			
		||||
          core.warning(`'dotnet-quality' input can't be used with exact version: ${versionObject.value} of .NET. 'dotnet-quality' input is ignored.`);
 | 
			
		||||
        }
 | 
			
		||||
      }
 | 
			
		||||
      
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user