| 630 | }; |
| 631 | |
| 632 | void |
| 633 | TSPluginInit(int argc, const char **argv) |
| 634 | { |
| 635 | if (!RegisterGlobalPlugin("magick", "netlify", "daniel.morilha@netlify.com")) { |
| 636 | return; |
| 637 | } |
| 638 | |
| 639 | const char *key = nullptr; |
| 640 | |
| 641 | if (1 < argc) { |
| 642 | // first argument is the path to the public key used to verify query parameter magick's content. |
| 643 | key = argv[1]; |
| 644 | } |
| 645 | |
| 646 | plugin = new GlobalHookPlugin(key); |
| 647 | } |
nothing calls this directly
no test coverage detected