Skip to content

Commit

Permalink
Fix git casing, esm bug.
Browse files Browse the repository at this point in the history
  • Loading branch information
dscalzi committed Mar 18, 2023
1 parent b55b7af commit 71c2e9b
Show file tree
Hide file tree
Showing 10 changed files with 4 additions and 1 deletion.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
5 changes: 4 additions & 1 deletion src/util/SchemaUtil.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,16 @@ import { mkdirs, pathExists, remove } from 'fs-extra/esm'
import { writeFile } from 'fs/promises'
import { join, resolve } from 'path'
import { createGenerator } from 'ts-json-schema-generator'
import { URL } from 'url'
import { URL, fileURLToPath } from 'url'
import { DistroMeta } from '../model/nebula/DistroMeta.js'
import { ServerMeta } from '../model/nebula/ServerMeta.js'
import { LoggerUtil } from './LoggerUtil.js'

const logger = LoggerUtil.getLogger('SchemaUtil')

const __filename = fileURLToPath(import.meta.url)
const __dirname = fileURLToPath(new URL('.', import.meta.url))

interface SchemaType {
/**
* URL to the JSON schema for this type of file.
Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit 71c2e9b

Please sign in to comment.