Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
dms3
go-unixfs
Commits
1fb29a29
Commit
1fb29a29
authored
10 years ago
by
Juan Batiz-Benet
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #6 from Aaron1011/typo
Fix typo
parents
8f79464e
59ab19e3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
config/config.go
config/config.go
+1
-1
No files found.
config/config.go
View file @
1fb29a29
...
...
@@ -44,7 +44,7 @@ func LoadConfig(filename string) (*Config, error) {
return
nil
,
err
}
// if nothing is there, write first con
i
fg file.
// if nothing is there, write first conf
i
g file.
if
_
,
err
:=
os
.
Stat
(
filename
);
os
.
IsNotExist
(
err
)
{
WriteFile
(
filename
,
[]
byte
(
defaultConfigFile
))
}
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment