From 18801ed0c02627e87639dc0848cab44dacc18be2 Mon Sep 17 00:00:00 2001 From: Vijay A Date: Mon, 18 Apr 2022 06:51:50 -0500 Subject: Rebranded from 'ferdi' to 'ferdium' (companion changes for the main repo PR #2) --- recipes/grape/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'recipes/grape/index.js') diff --git a/recipes/grape/index.js b/recipes/grape/index.js index 2039c8d..593f026 100644 --- a/recipes/grape/index.js +++ b/recipes/grape/index.js @@ -1,6 +1,6 @@ function _asyncToGenerator(fn) { return function () { const gen = Reflect.apply(fn, this, arguments); return new Promise((resolve, reject) => { function step(key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { return Promise.resolve(value).then((value) => { step('next', value); }, (error) => { step('throw', error); }); } } return step('next'); }); }; } -module.exports = Ferdi => class Grape extends Ferdi { +module.exports = Ferdium => class Grape extends Ferdium { validateUrl(url) { return _asyncToGenerator(function* () { try { -- cgit v1.2.3-54-g00ecf