schema-to-erd icon indicating copy to clipboard operation
schema-to-erd copied to clipboard

Used a await schemaToErd?

Open dnfwlq8054 opened this issue 2 years ago • 1 comments

안녕하세요 벼리님. export default async function schemaToErd 로 export 시켜주는데,

README를 보면 schemaToErd('./schema_samples/sakila-schema.sql'); 로 설명되어 있습니다.

async로 빼주니 await schemaToErd('./schema_samples/sakila-schema.sql');로 해줘야 하지 않나요?? FYI.
https://stackoverflow.com/questions/65589922/javascript-typescript-export-default-const-as-value-from-async-function-call

dnfwlq8054 avatar Oct 03 '22 12:10 dnfwlq8054

entry 화일은 https://github.com/youngkiu/schema-to-erd/blob/main/src/main.js 예요.

youngkiu avatar Oct 03 '22 13:10 youngkiu