Skip to content

Monkey Patching Ohai to overcome issues with the Resolv class #454

Monkey Patching Ohai to overcome issues with the Resolv class

Monkey Patching Ohai to overcome issues with the Resolv class #454

Triggered via pull request March 21, 2024 20:00
Status Failure
Total duration 37s
Artifacts

lint.yml

on: pull_request
chefstyle
27s
chefstyle
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 3 warnings
chefstyle: lib/ohai/mixin/network_helper.rb#L32
[Correctable] Style/ExpandPathArguments: Use expand_path('../monkey_patches/win32/registry', __dir__) instead of expand_path('../../monkey_patches/win32/registry', __FILE__).
chefstyle
Process completed with exit code 1.
chefstyle
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
chefstyle
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
chefstyle: lib/ohai/mixin/network_helper.rb#L34
Lint/Void: Variable Registry used in void context.