Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Ash
Discord Bot
Commits
7c6aceb8
Commit
7c6aceb8
authored
Feb 02, 2020
by
Timothy du Heaume
Browse files
use correct yaml file extension
parent
680b72cf
Changes
4
Hide whitespace changes
Inline
Side-by-side
src/config.rs
View file @
7c6aceb8
...
...
@@ -4,7 +4,7 @@ use std::fs;
use
serde_yaml
;
lazy_static!
{
static
ref
CONFIG_FILE
:
String
=
fs
::
read_to_string
(
"config.y
a
ml"
)
.unwrap
();
static
ref
CONFIG_FILE
:
String
=
fs
::
read_to_string
(
"config.yml"
)
.unwrap
();
pub
static
ref
CONFIG
:
UccbotConfig
=
serde_yaml
::
from_str
(
&
CONFIG_FILE
)
.unwrap
();
}
...
...
src/config.test.y
a
ml
→
src/config.test.yml
View file @
7c6aceb8
File moved
src/config.ucc.y
a
ml
→
src/config.ucc.yml
View file @
7c6aceb8
File moved
src/config.y
a
ml
→
src/config.yml
View file @
7c6aceb8
File moved
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