提交 a660620e 编写于 作者: M Matt Bierner

Convert null -> undefined

上级 73d2f81d
......@@ -518,14 +518,14 @@ export class Configuration {
return folderConsolidatedConfiguration;
}
private getFolderConfigurationModelForResource(resource: URI | null | undefined, workspace: Workspace | undefined): ConfigurationModel | null {
private getFolderConfigurationModelForResource(resource: URI | null | undefined, workspace: Workspace | undefined): ConfigurationModel | undefined {
if (workspace && resource) {
const root = workspace.getFolder(resource);
if (root) {
return types.withUndefinedAsNull(this._folderConfigurations.get(root.uri));
return this._folderConfigurations.get(root.uri);
}
}
return null;
return undefined;
}
toData(): IConfigurationData {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册