提交 0dca3116 编写于 作者: I isidor

remove relative path warning

上级 805dc25e
......@@ -152,16 +152,6 @@ export class Adapter {
description: nls.localize('internalConsoleOptions', "Controls behavior of the internal debug console.")
};
const warnRelativePaths = (attribute: IJSONSchema) => {
if (attribute) {
attribute.pattern = '^\\${.*}.*|' + paths.isAbsoluteRegex.source;
attribute.errorMessage = nls.localize('relativePathsNotConverted', "Relative paths will no longer be automatically converted to absolute ones. Consider using ${workspaceRoot} as a prefix.");
}
};
warnRelativePaths(properties['outDir']);
warnRelativePaths(properties['program']);
warnRelativePaths(properties['cwd']);
const osProperties = objects.deepClone(properties);
properties['windows'] = {
type: 'object',
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册