Skip to content

Commit bc2ca9d

Browse files
author
Katrina Owen
authored
Merge pull request #625 from exercism/so-many-tabs
Fix tabs vs spaces in big text-heavy output
2 parents 60f54e0 + 72ab762 commit bc2ca9d

2 files changed

Lines changed: 18 additions & 16 deletions

File tree

cmd/configure.go

Lines changed: 15 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -155,14 +155,14 @@ func runConfigure(configuration config.Configuration, flags *pflag.FlagSet) erro
155155
if info, err := os.Lstat(workspace); !os.IsNotExist(err) && !info.IsDir() {
156156
msg := `
157157
158-
There is already something at the workspace location you are configuring:
158+
There is already something at the workspace location you are configuring:
159159
160-
%s
160+
%s
161161
162-
Please rename it, or set a different workspace location:
162+
Please rename it, or set a different workspace location:
163163
164-
%s configure %s --workspace=PATH_TO_DIFFERENT_FOLDER
165-
`
164+
%s configure %s --workspace=PATH_TO_DIFFERENT_FOLDER
165+
`
166166

167167
return fmt.Errorf(msg, workspace, BinaryName, commandify(flags))
168168
}
@@ -174,18 +174,20 @@ func runConfigure(configuration config.Configuration, flags *pflag.FlagSet) erro
174174
// If it already exists don't clobber it with the default.
175175
if _, err := os.Lstat(workspace); !os.IsNotExist(err) {
176176
msg := `
177-
The default Exercism workspace is
177+
The default Exercism workspace is
178178
179-
%s
179+
%s
180180
181-
There is already something there.
182-
If it's a directory, that might be fine. If it's a file, you will need to move it first,
183-
or choose a different location for the workspace.
181+
There is already something there.
182+
If it's a directory, that might be fine.
183+
If it's a file, you will need to move it first, or choose a
184+
different location for the workspace.
184185
185-
You can choose the workspace location by rerunning this command with the --workspace flag.
186+
You can choose the workspace location by rerunning this command
187+
with the --workspace flag.
186188
187-
%s configure %s --workspace=%s
188-
`
189+
%s configure %s --workspace=%s
190+
`
189191

190192
return fmt.Errorf(msg, workspace, BinaryName, commandify(flags), workspace)
191193
}

cmd/submit.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ func runSubmit(cfg config.Configuration, flags *pflag.FlagSet, args []string) er
7777
7878
%s configure --token=YOUR_TOKEN
7979
80-
`
80+
`
8181
return fmt.Errorf(msg, tokenURL, BinaryName)
8282
}
8383

@@ -212,7 +212,7 @@ func runSubmit(cfg config.Configuration, flags *pflag.FlagSet, args []string) er
212212

213213
msg := `
214214
215-
WARNING: Skipping empty file
215+
WARNING: Skipping empty file
216216
%s
217217
218218
`
@@ -225,7 +225,7 @@ func runSubmit(cfg config.Configuration, flags *pflag.FlagSet, args []string) er
225225
if len(paths) == 0 {
226226
msg := `
227227
228-
No files found to submit.
228+
No files found to submit.
229229
230230
`
231231
return errors.New(msg)

0 commit comments

Comments
 (0)