mirror of https://github.com/actions/toolkit
fix prettier issue
parent
5fc21de45e
commit
e9bcf2a4e4
|
@ -324,7 +324,10 @@ export function endGroup(): void {
|
||||||
* @param name The name of the group
|
* @param name The name of the group
|
||||||
* @param fn The function to wrap in the group
|
* @param fn The function to wrap in the group
|
||||||
*/
|
*/
|
||||||
export async function group<T>(name: string, fn: () => T | Promise<T>): Promise<T> {
|
export async function group<T>(
|
||||||
|
name: string,
|
||||||
|
fn: () => T | Promise<T>
|
||||||
|
): Promise<T> {
|
||||||
startGroup(name)
|
startGroup(name)
|
||||||
|
|
||||||
let result: T
|
let result: T
|
||||||
|
|
Loading…
Reference in New Issue