Skip to content
Snippets Groups Projects
Commit f42ef2f0 authored by Jessica Yuen's avatar Jessica Yuen
Browse files

'init' should use current directory when generating Ksonnet app

parent 4a554ab3
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