Digital-Alchemy-TS / Digital-Alchemy-TS/code-glue

day.js not working in automation

Open
#92 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
TypeScript
Stars
1
Forks
0
PR merge metrics
No merged PRs in 30d

Description

I think this is suppose to be in the header, but if I do the following in an automation:

```logger.debug(`now: ${dayjs()}`)```

I get the following error:

`service failed to initialize: ReferenceError: dayjs is not defined`

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.