mirror of
https://github.com/gradle/actions.git
synced 2025-11-26 17:09:10 +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)
|
|
}
|