Skip to content
Snippets Groups Projects
Commit 7217fdc8 authored by Alex Clemmer's avatar Alex Clemmer Committed by GitHub
Browse files

Merge pull request #119 from jessicayuen/init-dir-fix

'init' should use current directory when generating Ksonnet app
parents a3d07f9c f42ef2f0
No related branches found
No related tags found
No related merge requests found
......@@ -19,7 +19,6 @@ import (
"fmt"
"os"
"path"
"path/filepath"
"github.com/ksonnet/kubecfg/metadata"
"github.com/ksonnet/kubecfg/pkg/kubecfg"
......@@ -46,7 +45,7 @@ var initCmd = &cobra.Command{
}
appName := args[0]
appDir, err := filepath.Abs(filepath.Dir(os.Args[0]))
appDir, err := os.Getwd()
if err != nil {
return err
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment