Rename to export-default-configuration, and write sorted settings

This commit is contained in:
Rob Lourens
2017-09-18 16:18:59 -07:00
parent 12c1ed6bcc
commit fd430793ee
7 changed files with 48 additions and 45 deletions

View File

@@ -470,11 +470,11 @@ gulp.task('generate-vscode-configuration', () => {
}
const appPath = path.join(buildDir, 'VSCode-darwin/Visual\\ Studio\\ Code\\ -\\ Insiders.app/Contents/Resources/app/bin/code');
const codeProc = cp.exec(`${appPath} --dump-default-configuration='${allConfigDetailsPath}' --wait`);
const codeProc = cp.exec(`${appPath} --export-default-configuration='${allConfigDetailsPath}' --wait`);
const timer = setTimeout(() => {
codeProc.kill();
reject(new Error('dump-default-configuration process timed out'));
reject(new Error('export-default-configuration process timed out'));
}, 10 * 1000);
codeProc.stdout.on('data', d => console.log(d.toString()));