mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-14 09:59:47 -05:00
* Revert "Revert "Merge from vscode merge-base (#22769)" (#22779)"
This reverts commit 47a1745180.
* Fix notebook download task
* Remove done call from extensions-ci
22 lines
755 B
TypeScript
22 lines
755 B
TypeScript
/*---------------------------------------------------------------------------------------------
|
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
* Licensed under the Source EULA. See License.txt in the project root for license information.
|
|
*--------------------------------------------------------------------------------------------*/
|
|
import { IPCClient } from './ipc/ipcClient';
|
|
|
|
function fatal(err: any): void {
|
|
console.error(err);
|
|
process.exit(1);
|
|
}
|
|
|
|
function main(argv: string[]): void {
|
|
const ipcClient = new IPCClient('git-editor');
|
|
const commitMessagePath = argv[argv.length - 1];
|
|
|
|
ipcClient.call({ commitMessagePath }).then(() => {
|
|
setTimeout(() => process.exit(0), 0);
|
|
}).catch(err => fatal(err));
|
|
}
|
|
|
|
main(process.argv);
|