Skip to content

Commit 85e6a04

Browse files
committed
refactor(utils): use named function
1 parent cd27baf commit 85e6a04

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { nanoid } from 'nanoid/async'
66
/* eslint-disable @typescript-eslint/prefer-nullish-coalescing */
77

88
// https://github.com/actions/toolkit/blob/b5f31bb5a25d129441c294fc81ba7f92f3e978ba/packages/cache/src/internal/cacheUtils.ts#L13
9-
export const createTempDirectory = async (): Promise<string> => {
9+
export async function createTempDirectory(): Promise<string> {
1010
let tempDirectory = process.env.RUNNER_TEMP
1111

1212
if (!tempDirectory) {

0 commit comments

Comments
 (0)