mirror of
https://github.com/voideditor/void
synced 2026-05-24 09:58:23 +00:00
8 lines
482 B
TypeScript
8 lines
482 B
TypeScript
/*---------------------------------------------------------------------------------------------
|
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
*--------------------------------------------------------------------------------------------*/
|
|
import * as os from 'os';
|
|
|
|
export const joinLines = (...args: string[]) =>
|
|
args.join(os.platform() === 'win32' ? '\r\n' : '\n');
|