We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0bbec27 + 468acc9 commit 4567050Copy full SHA for 4567050
til.go
@@ -187,6 +187,8 @@ func makeConfigDir() {
187
if err != nil {
188
Fail(errors.New(errConfigDirCreate))
189
}
190
+
191
+ Progress(fmt.Sprintf("created %s", cDir))
192
193
194
@@ -205,6 +207,7 @@ func makeConfigFile() {
205
207
// That was not fine
206
208
Fail(errors.New(errConfigFileCreate))
209
210
211
} else {
212
// But wait, it's some kind of other error. What kind?
213
// I dunno, but it's probably bad so die
@@ -224,6 +227,8 @@ func makeConfigFile() {
224
227
if ioutil.WriteFile(cPath, []byte(defaultConfig), 0600) != nil {
225
228
Fail(errors.New(errConfigFileWrite))
226
229
230
231
+ Progress(fmt.Sprintf("created %s", cPath))
232
233
234
0 commit comments