mirror of
				https://github.com/beego/bee.git
				synced 2025-11-04 14:33:24 +00:00 
			
		
		
		
	fix lint with uncoditional strings.Replace
This commit is contained in:
		@@ -102,9 +102,7 @@ func dockerizeApp(cmd *commands.Command, args []string) int {
 | 
			
		||||
	// In case of multiple ports to expose inside the container,
 | 
			
		||||
	// replace all the commas with whitespaces.
 | 
			
		||||
	// See the verb EXPOSE in the Docker documentation.
 | 
			
		||||
	if strings.Contains(expose, ",") {
 | 
			
		||||
		expose = strings.Replace(expose, ",", " ", -1)
 | 
			
		||||
	}
 | 
			
		||||
	expose = strings.Replace(expose, ",", " ", -1)
 | 
			
		||||
 | 
			
		||||
	_, entrypoint := path.Split(appdir)
 | 
			
		||||
	dockerfile := Dockerfile{
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user