style 💎: Fix indentation and logic in subscription.yml tasks
Refactored the indentation and corrected logical errors in the tasks section of subscription.yml to improve readability and functionality.
This commit is contained in:
@@ -28,7 +28,7 @@
|
|||||||
path: /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js
|
path: /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js
|
||||||
regexp: "if \\(data.status !== 'Active'\\)"
|
regexp: "if \\(data.status !== 'Active'\\)"
|
||||||
replace: "if (false)"
|
replace: "if (false)"
|
||||||
when:
|
when:
|
||||||
- proxmoxlib_js.stat.exists
|
- proxmoxlib_js.stat.exists
|
||||||
- proxmoxlib_js_checksum_stored.content is not defined
|
- proxmoxlib_js_checksum_stored.content is not defined
|
||||||
or (proxmoxlib_js.stat.checksum
|
or (proxmoxlib_js.stat.checksum
|
||||||
@@ -72,7 +72,7 @@
|
|||||||
path: /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.min.js
|
path: /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.min.js
|
||||||
regexp: "data.status!=='Active'"
|
regexp: "data.status!=='Active'"
|
||||||
replace: "false"
|
replace: "false"
|
||||||
when:
|
when:
|
||||||
- proxmoxlib_min_js.stat.exists
|
- proxmoxlib_min_js.stat.exists
|
||||||
- proxmoxlib_min_checksum_stored.content is not defined
|
- proxmoxlib_min_checksum_stored.content is not defined
|
||||||
or (proxmoxlib_min_js.stat.checksum
|
or (proxmoxlib_min_js.stat.checksum
|
||||||
|
|||||||
Reference in New Issue
Block a user