mirror of
https://github.com/redhat-actions/push-to-registry.git
synced 2025-02-23 10:31:22 +01:00
9 lines
439 B
TypeScript
9 lines
439 B
TypeScript
![]() |
/***************************************************************************************************
|
||
|
* Copyright (c) Red Hat, Inc. All rights reserved.
|
||
|
* Licensed under the MIT License. See LICENSE file in the project root for license information.
|
||
|
**************************************************************************************************/
|
||
|
|
||
|
export function splitByNewline(s: string): string[] {
|
||
|
return s.split(/\r?\n/);
|
||
|
}
|