]> git.proxmox.com Git - pve-eslint.git/commit
switch to using `Command.opts()` to access options
authorStefan Sterz <s.sterz@proxmox.com>
Wed, 30 Aug 2023 09:24:29 +0000 (11:24 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 30 Aug 2023 09:38:08 +0000 (11:38 +0200)
commit79d6d3d106a0785f82d51710cad50d34d305909e
tree2604d93fb971ee8f4a12cf47ab96781aba7b7420
parent58b8a1a8839738d1b2c743a1d909f05b5f7905ee
switch to using `Command.opts()` to access options

this fixes an issue  where the options where not properly passed to
eslint, which rendered them useless. uses the `opts()` function to
access them. see [1] for more on info on option parsing with
commander.

[1]: https://www.npmjs.com/package/commander#user-content-options

Signed-off-by: Stefan Sterz <s.sterz@proxmox.com>
src/bin/app.js