summaryrefslogtreecommitdiff
path: root/src/config.ts
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2017-02-01 04:31:43 +0900
committersyuilo <syuilotan@yahoo.co.jp>2017-02-01 04:31:43 +0900
commit8a35d7fd30e0094b3c59dd7aae5e28b80d6e6f09 (patch)
tree2d9bc0655bb860118f56f7f5fb0246941ff7eade /src/config.ts
parent[Server] Improve github notification (diff)
downloadsharkey-8a35d7fd30e0094b3c59dd7aae5e28b80d6e6f09.tar.gz
sharkey-8a35d7fd30e0094b3c59dd7aae5e28b80d6e6f09.tar.bz2
sharkey-8a35d7fd30e0094b3c59dd7aae5e28b80d6e6f09.zip
Fix: Insert missing hyphen
Diffstat (limited to 'src/config.ts')
-rw-r--r--src/config.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/config.ts b/src/config.ts
index 5b043d3498..852a59d27a 100644
--- a/src/config.ts
+++ b/src/config.ts
@@ -86,7 +86,7 @@ interface Mixin {
export type IConfig = ISource & Mixin;
export default function load() {
- const config = yaml.safeLoad(fs.readFileSync(path, 'utf8')) as ISource;
+ const config = yaml.safeLoad(fs.readFileSync(path, 'utf-8')) as ISource;
const mixin: Mixin = {} as Mixin;