fix: detectCode bug

This commit is contained in:
Daniel Avila 2023-03-11 14:46:21 -05:00
parent 950b8f3f1e
commit 95bad60f7d

View file

@ -45,7 +45,7 @@ const detectCode = async (input) => {
return (await Promise.all(output)).join('');
} catch (e) {
console.log('Error in detectCode function\n', e);
return text;
return input;
}
};