提交 eba9a10a 编写于 作者: M Martin Aeschlimann

fixes #9731: [Configuration] Get configuration doesn't return default value if not found.

上级 17c599e6
......@@ -237,6 +237,7 @@ function getDefaultValue(type: string | string[]): any {
case 'boolean':
return false;
case 'integer':
case 'number':
return 0;
case 'string':
return '';
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册