From 8a35d7fd30e0094b3c59dd7aae5e28b80d6e6f09 Mon Sep 17 00:00:00 2001 From: syuilo Date: Wed, 1 Feb 2017 04:31:43 +0900 Subject: [PATCH] Fix: Insert missing hyphen --- src/config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config.ts b/src/config.ts index 5b043d349..852a59d27 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;