PitchforkAssistant
PitchforkAssistant
Yummy yummy in its tummy.
Fixes invalid `__dirname` when the script is ran on Windows by removing the leading `/`. Resolves issue #83
https://github.com/signcl/docusaurus-prince-pdf/blob/d17185d59c36eed87fc551ff1425e39ba05bb086/index.ts#L11 `__dirname` is prefixed with `/` on Windows systems, leading to paths like `/C:/path/to/docusaurus-prince-pdf/`. That results in an invalid `--style` path when executing Prince on Windows, which it silently ignores....
The `PostDelete` event contains a source property of the type `EventSource`. It's exported and available to import from `@devvit/protos`, but the runtime doesn't seem to match that. The following code...
It appears that set state calls inside of useAsync data fetch functions are silently ignored. Issues with using state inside of the useAsync function are mentioned in the docs, but...
The `svg` helper function calls `encodeURIComponent` on the provided SVG before returning it. Based on the comment above the return line, that appears to be intentional as a fix for...
When using the `devvit create icons` command, the name of the asset is its relative path to the assets directory. This results in the generation of assets with an escape...
`devvit create icons` is supposed to convert svg files in the assets folder into usable image strings. That process results in an invalid svg if the file contains anything ahead...
I know there's already a way to get the Snoovatar, but I'm asking for access to the user's profile picture, which might not be the Snoovatar. It looks like this...
There is currently no way to get the subject line of a private message. The [PrivateMessage](https://github.com/reddit/devvit/blob/main/packages/public-api/src/apis/reddit/models/PrivateMessage.ts#L38) getters don't include the private message subject. Being able to read the subject would...