From f2c11d9108131b09b324110a4c46fe1e039856ff Mon Sep 17 00:00:00 2001 From: Sridhar Ganesan Date: Mon, 23 Jul 2018 15:47:34 +0200 Subject: [PATCH] Adding comment to make the code clear --- cmd/cosmos-sdk-cli/cmd/init.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/cosmos-sdk-cli/cmd/init.go b/cmd/cosmos-sdk-cli/cmd/init.go index 5576ac2f3108..fdd57ae999e4 100644 --- a/cmd/cosmos-sdk-cli/cmd/init.go +++ b/cmd/cosmos-sdk-cli/cmd/init.go @@ -146,6 +146,7 @@ benchmark: func setupBasecoinWorkspace(projectName string, remoteProjectPath string) { projectPath := resolveProjectPath(remoteProjectPath) fmt.Println("Configuring your project in " + projectPath) + // Check if the projectPath already exists or not if _, err := os.Stat(projectPath); os.IsNotExist(err) { copyBasecoinTemplate(projectName, projectPath, remoteProjectPath) createGopkg(projectPath)