mirror of
https://github.com/gradle/actions.git
synced 2025-08-24 02:41:29 +08:00
4 lines
114 B
TypeScript
4 lines
114 B
TypeScript
export function truncateArgs(args: string): string {
|
|
return args.trim().replace(/\s+/g, ' ').substr(0, 400)
|
|
}
|