.
This commit is contained in:
parent
505f64f70b
commit
6a0da63093
4 changed files with 7 additions and 4 deletions
|
|
@ -46,7 +46,9 @@ export const logger =
|
|||
app = `DEV-${app}`
|
||||
}
|
||||
|
||||
if (__filename && typeof process != "undefined" && process.cwd()) {
|
||||
const isNode = typeof process !== "undefined" && process.versions?.node
|
||||
|
||||
if (isNode && __filename) {
|
||||
__filename = __filename.replace(process.cwd(), "")
|
||||
}
|
||||
if (local) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue