nodeshift-archived / license-reporter

license-reporter is a tool that gathers licenses for project's dependencies and produces a output in XML, JSON, YAML and HTML format.
Apache License 2.0
13 stars 10 forks source link

Moving promises to async-await #364

Closed aalykiot closed 4 years ago

aalykiot commented 4 years ago

@helio-frota I changed as many promises to async-await as I could find. #360

The only file I left unchanged is the lib/utils/xml.js because I can't fully follow the way promises are used there.

helio-frota commented 4 years ago

@alexalikiotis not a problem, that already seems a good improvement. Thanks!

We can keep the issue #360 opened and update with more bits later :+1: