From 1cb7ed6ac7fd808b7755a47ffc4878506a42d13c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Erik=20Pedersen?= Date: Wed, 23 Mar 2016 14:51:16 +0100 Subject: parser: Spring code cleaning --- commands/convert.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'commands/convert.go') diff --git a/commands/convert.go b/commands/convert.go index ca87e6fe0..fc15b847c 100644 --- a/commands/convert.go +++ b/commands/convert.go @@ -45,7 +45,7 @@ var toJSONCmd = &cobra.Command{ Long: `toJSON converts all front matter in the content directory to use JSON for the front matter.`, RunE: func(cmd *cobra.Command, args []string) error { - return convertContents(rune([]byte(parser.JSON_LEAD)[0])) + return convertContents(rune([]byte(parser.JSONLead)[0])) }, } @@ -55,7 +55,7 @@ var toTOMLCmd = &cobra.Command{ Long: `toTOML converts all front matter in the content directory to use TOML for the front matter.`, RunE: func(cmd *cobra.Command, args []string) error { - return convertContents(rune([]byte(parser.TOML_LEAD)[0])) + return convertContents(rune([]byte(parser.TOMLLead)[0])) }, } @@ -65,7 +65,7 @@ var toYAMLCmd = &cobra.Command{ Long: `toYAML converts all front matter in the content directory to use YAML for the front matter.`, RunE: func(cmd *cobra.Command, args []string) error { - return convertContents(rune([]byte(parser.YAML_LEAD)[0])) + return convertContents(rune([]byte(parser.YAMLLead)[0])) }, } -- cgit v1.2.3