adding .idea folder, removing old code
This commit is contained in:
		@@ -37,7 +37,7 @@ func RebuildProject(riderEnabled bool, doBuild bool) {
 | 
				
			|||||||
	checkPath(projectABSPath) // Verifying path, will exit if fail
 | 
						checkPath(projectABSPath) // Verifying path, will exit if fail
 | 
				
			||||||
	fmt.Println("Using Project Absolute Path: ", projectABSPath)
 | 
						fmt.Println("Using Project Absolute Path: ", projectABSPath)
 | 
				
			||||||
	// Setting the folders to remove //remove.go
 | 
						// Setting the folders to remove //remove.go
 | 
				
			||||||
	folderRemove := []string{".vs", "Binaries", "Intermediate", "Saved"}
 | 
						folderRemove := []string{".vs", "Binaries", "Intermediate", "Saved", ".idea"}
 | 
				
			||||||
	fmt.Println("Removing Folders...")
 | 
						fmt.Println("Removing Folders...")
 | 
				
			||||||
	err = removeFolders(folderRemove)
 | 
						err = removeFolders(folderRemove)
 | 
				
			||||||
	if err != nil {
 | 
						if err != nil {
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										5
									
								
								main.go
									
									
									
									
									
								
							
							
						
						
									
										5
									
								
								main.go
									
									
									
									
									
								
							@@ -45,11 +45,6 @@ func executor(in string) {
 | 
				
			|||||||
	case "help":
 | 
						case "help":
 | 
				
			||||||
		fmt.Println("Use 'clean' or 'rebuild' with the optional flag '--rider' if you need the rider plugin enabled.")
 | 
							fmt.Println("Use 'clean' or 'rebuild' with the optional flag '--rider' if you need the rider plugin enabled.")
 | 
				
			||||||
		fmt.Println("Example Usage: 'clean --rider' or 'rebuild --rider'.")
 | 
							fmt.Println("Example Usage: 'clean --rider' or 'rebuild --rider'.")
 | 
				
			||||||
	case "post", "put", "patch":
 | 
					 | 
				
			||||||
		if len(blocks) < 2 {
 | 
					 | 
				
			||||||
			fmt.Println("please set request body.")
 | 
					 | 
				
			||||||
			return
 | 
					 | 
				
			||||||
		}
 | 
					 | 
				
			||||||
	default:
 | 
						default:
 | 
				
			||||||
		fmt.Println("Sorry, I don't understand")
 | 
							fmt.Println("Sorry, I don't understand")
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user