fix(node): revert async from bake function
This commit is contained in:
parent
debe193387
commit
ca26b41ce5
@ -324,10 +324,10 @@ export function help(input) {
|
|||||||
* @returns {NodeDish} of the result
|
* @returns {NodeDish} of the result
|
||||||
* @throws {TypeError} if invalid recipe given.
|
* @throws {TypeError} if invalid recipe given.
|
||||||
*/
|
*/
|
||||||
export async function bake(input, recipeConfig) {
|
export function bake(input, recipeConfig) {
|
||||||
const recipe = new NodeRecipe(recipeConfig);
|
const recipe = new NodeRecipe(recipeConfig);
|
||||||
const dish = ensureIsDish(input);
|
const dish = ensureIsDish(input);
|
||||||
return await recipe.execute(dish);
|
return recipe.execute(dish);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user