We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug generateImages() function is async and type hints that it will return a Promise but does not return a Promise.
generateImages()
async
pwa-asset-generator/src/main.ts
Lines 119 to 124 in aadbb9b
Expected behavior generateImages() should return a Promise that gets resolved with the value of type Result.
Why
await generateImages
import {generateImages} from "pwa-asset-generator"; await generateImages('input.svg', './output', { type: 'png', }); await generateImages('input.svg', './output', { type: 'jpg', });
System (please complete the following information):
Additional context Thankully Github Actions terminated the script after 6 hours :)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
generateImages()
function isasync
and type hints that it will return a Promise but does not return a Promise.pwa-asset-generator/src/main.ts
Lines 119 to 124 in aadbb9b
Expected behavior
generateImages()
should return a Promise that gets resolved with the value of type Result.Why
await generateImages
in a CD environment, I cannot do process.exit() as shown in the examples.System (please complete the following information):
Additional context
Thankully Github Actions terminated the script after 6 hours :)
The text was updated successfully, but these errors were encountered: