Adding comment to make the code clear
This commit is contained in:
parent
bfd928ca53
commit
f2c11d9108
|
@ -146,6 +146,7 @@ benchmark:
|
||||||
func setupBasecoinWorkspace(projectName string, remoteProjectPath string) {
|
func setupBasecoinWorkspace(projectName string, remoteProjectPath string) {
|
||||||
projectPath := resolveProjectPath(remoteProjectPath)
|
projectPath := resolveProjectPath(remoteProjectPath)
|
||||||
fmt.Println("Configuring your project in " + projectPath)
|
fmt.Println("Configuring your project in " + projectPath)
|
||||||
|
// Check if the projectPath already exists or not
|
||||||
if _, err := os.Stat(projectPath); os.IsNotExist(err) {
|
if _, err := os.Stat(projectPath); os.IsNotExist(err) {
|
||||||
copyBasecoinTemplate(projectName, projectPath, remoteProjectPath)
|
copyBasecoinTemplate(projectName, projectPath, remoteProjectPath)
|
||||||
createGopkg(projectPath)
|
createGopkg(projectPath)
|
||||||
|
|
Loading…
Reference in New Issue