1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-08 19:46:02 +01:00

Fix warning in kaitai spec

Warning:
```
[39/483] Generating src/kaitai-struct-checks/kaitai-generated-sources with a custom command
../src/kaitai-struct-checks/nar.ksy: /types/padded_str/seq/1/encoding:
        warning: use canonical encoding name `ASCII` instead of `ascii` (see https://doc.kaitai.io/ksy_style_guide.html#encoding-name)
```
This commit is contained in:
Farid Zakaria 2025-11-03 14:19:54 -08:00
parent 34ac1792f9
commit c8e24491c0

View file

@ -29,7 +29,7 @@ types:
- id: body - id: body
type: str type: str
size: len_str size: len_str
encoding: 'ascii' encoding: 'ASCII'
- id: padding - id: padding
size: (8 - (len_str % 8)) % 8 size: (8 - (len_str % 8)) % 8