Remove async from callAsyncFunction

This commit is contained in:
Jonathan Clem committed 2020-02-28 08:51:05 -05:00
1 parent 3758c2b05b
commit be5d094bf9
3 files changed
+2 -5

No files matched your search

+1 -1
View File
@@ -2,7 +2,7 @@ const AsyncFunction = Object.getPrototypeOf(async () => {}).constructor
type AsyncFunctionArguments = {[key: string]: any}
export async function callAsyncFunction(
export function callAsyncFunction(
args: AsyncFunctionArguments,
source: string
): Promise<any> {
-2
View File
@@ -23,8 +23,6 @@ async function main() {
script
)
console.log('test result', result)
let encoding = core.getInput('result-encoding')
encoding = encoding ? encoding : 'json'