Skip to content

Commit

Permalink
fix: format is not defined (#2003)
Browse files Browse the repository at this point in the history
  • Loading branch information
BobbieGoede committed Apr 17, 2023
1 parent b896eaa commit c4e32e9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/transform/proxy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ export default async function(context, locale) {
m => m.default || m
)
} catch (e) {
console.error(format(e.message))
console.error(formatMessage(e.message))
}
return mod || {}
}
Expand Down Expand Up @@ -126,7 +126,7 @@ export default async function(context) {
m => m.default || m
)
} catch (e) {
console.error(format(e.message))
console.error(formatMessage(e.message))
}
config.messages = messages || {}
return config
Expand Down

0 comments on commit c4e32e9

Please sign in to comment.