Skip to content

Commit

Permalink
fix(suma2text): fixed process null verification, to make lib useble i…
Browse files Browse the repository at this point in the history
…n browsers
  • Loading branch information
m7vicente-vortx committed Feb 15, 2022
1 parent 14565c6 commit b56bc39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/suma2Text.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ module.exports = function (

if (languages) {
languages.map(({ name, definitions }) => {
if (process)
if (typeof process !== 'undefined')
process.emitWarning(
`${name}: ${textPackage[name]
? "will be custumized"
Expand Down

0 comments on commit b56bc39

Please sign in to comment.