diff options
| author | Aiqiao Yan <55104035+aiqiaoy@users.noreply.github.com> | 2026-06-16 17:10:58 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-06-16 17:10:58 -0400 |
| commit | c68c2101c254470055e8aa38730553d71a47bc7b (patch) | |
| tree | 3d9a1c982fc2d3aed23e80a58d221942ac249155 /src/misc | |
| parent | 6e97fb5586f435ba4f325b363a1c7329470cebf6 (diff) | |
upgrade module to esm and update dependencies (#2463)
* upgrade module to esm so I can update dependencies
* fix ci failures
Diffstat (limited to 'src/misc')
| -rw-r--r-- | src/misc/generate-docs.ts | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/misc/generate-docs.ts b/src/misc/generate-docs.ts index b78f035..ada3acd 100644 --- a/src/misc/generate-docs.ts +++ b/src/misc/generate-docs.ts @@ -2,6 +2,9 @@ import * as fs from 'fs' import * as os from 'os' import * as path from 'path' import * as yaml from 'js-yaml' +import {fileURLToPath} from 'url' + +const __dirname = path.dirname(fileURLToPath(import.meta.url)) // // SUMMARY |
