That was the original intention, but I didn’t understand that lua would fail with "r+" if the file does not exist (and "w+" truncates the file, so you have to try "r+" and then fall back to "w+" which will create the file as well.) Change-Id: Ib238f0b73ab403ceeaf035d053a14eba718d1b48 Reviewed-on: https://cl.tvl.fyi/c/depot/+/12562 Reviewed-by: Profpatsch <mail@profpatsch.de> Tested-by: BuildkiteCI |
||
|---|---|---|
| .. | ||
| extension | ||
| src | ||
| .gitignore | ||
| .prettierrc | ||
| build.ninja | ||
| default.nix | ||
| eslint.config.mjs | ||
| lyric-mpv-script.lua | ||
| lyric-timing-mpv-script.lua | ||
| package.json | ||
| tsconfig.json | ||