mirror of
				https://github.com/actions/setup-dotnet.git
				synced 2025-11-03 23:53:45 +00:00 
			
		
		
		
	Fix issue with quotes
This commit is contained in:
		
							parent
							
								
									f64af7ff2c
								
							
						
					
					
						commit
						4d8de26495
					
				
							
								
								
									
										2
									
								
								dist/index.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								dist/index.js
									
									
									
									
										vendored
									
									
								
							@ -333,7 +333,7 @@ class DotnetCoreInstaller {
 | 
				
			|||||||
                if (process.env['no_proxy'] != null) {
 | 
					                if (process.env['no_proxy'] != null) {
 | 
				
			||||||
                    scriptArguments.push(`-ProxyBypassList ${process.env['no_proxy']}`);
 | 
					                    scriptArguments.push(`-ProxyBypassList ${process.env['no_proxy']}`);
 | 
				
			||||||
                }
 | 
					                }
 | 
				
			||||||
                scriptArguments.push('-InstallDir', `${DotnetCoreInstaller.installationDirectoryWindows}`);
 | 
					                scriptArguments.push('-InstallDir', `'${DotnetCoreInstaller.installationDirectoryWindows}'`);
 | 
				
			||||||
                // process.env must be explicitly passed in for DOTNET_INSTALL_DIR to be used
 | 
					                // process.env must be explicitly passed in for DOTNET_INSTALL_DIR to be used
 | 
				
			||||||
                scriptPath =
 | 
					                scriptPath =
 | 
				
			||||||
                    (yield io.which('pwsh', false)) || (yield io.which('powershell', true));
 | 
					                    (yield io.which('pwsh', false)) || (yield io.which('powershell', true));
 | 
				
			||||||
 | 
				
			|||||||
@ -210,7 +210,7 @@ export class DotnetCoreInstaller {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
      scriptArguments.push(
 | 
					      scriptArguments.push(
 | 
				
			||||||
        '-InstallDir',
 | 
					        '-InstallDir',
 | 
				
			||||||
        `${DotnetCoreInstaller.installationDirectoryWindows}`
 | 
					        `'${DotnetCoreInstaller.installationDirectoryWindows}'`
 | 
				
			||||||
      );
 | 
					      );
 | 
				
			||||||
      // process.env must be explicitly passed in for DOTNET_INSTALL_DIR to be used
 | 
					      // process.env must be explicitly passed in for DOTNET_INSTALL_DIR to be used
 | 
				
			||||||
      scriptPath =
 | 
					      scriptPath =
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user