Skip to content

Commit d27d202

Browse files
committed
Fix comment
1 parent 71e94e3 commit d27d202

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cli/create.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ func create() *cobra.Command {
117117
return err
118118
}
119119

120-
// parameterMapFromFile can be nil if the file is not specified or invalid
120+
// parameterMapFromFile can be nil if parameter file is not specified
121121
var parameterMapFromFile map[string]string
122122
if parameterFile != "" {
123123
_, _ = fmt.Fprintln(cmd.OutOrStdout(), cliui.Styles.Paragraph.Render("Attempting to read the variables from the parameter file.")+"\r\n")

cli/templatecreate.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ func createValidTemplateVersion(cmd *cobra.Command, client *codersdk.Client, org
187187
}
188188
_, _ = fmt.Fprintln(cmd.OutOrStdout(), cliui.Styles.Paragraph.Render("This template has required variables! They are scoped to the template, and not viewable after being set.")+"\r\n")
189189

190-
// parameterMapFromFile can be nil if the file is not specified or invalid
190+
// parameterMapFromFile can be nil if parameter file is not specified
191191
var parameterMapFromFile map[string]string
192192
if parameterFile != "" {
193193
_, _ = fmt.Fprintln(cmd.OutOrStdout(), cliui.Styles.Paragraph.Render("Attempting to read the variables from the parameter file.")+"\r\n")

0 commit comments

Comments
 (0)