hover: 0.46.2 -> 0.46.3
Also fix `hover init` command failing with the following error: ``` hover: Failed to find template file: open app/hover.yaml.tmpl/app/hover.yaml.tmpl: no such file or directory ```
This commit is contained in:
@@ -53,7 +53,7 @@ index cb75563..3822e80 100644
|
||||
-func ExecuteTemplateFromAssetsBox(boxed, to string, assetsBox *rice.Box, templateData interface{}) {
|
||||
- templateString, err := assetsBox.String(boxed)
|
||||
+func ExecuteTemplateFromAssetsBox(boxed, to string, assetsBox string, templateData interface{}) {
|
||||
+ templateString, err := ioutil.ReadFile(boxed + "/" + boxed)
|
||||
+ templateString, err := ioutil.ReadFile(assetsBox + "/" + boxed)
|
||||
if err != nil {
|
||||
log.Errorf("Failed to find template file: %v\n", err)
|
||||
os.Exit(1)
|
||||
|
||||
Reference in New Issue
Block a user