mirror of
https://github.com/0x5eal/luau-unzip.git
synced 2025-04-04 06:30:53 +01:00
chore(nix): fix newline in middle of jq command
This commit is contained in:
parent
89c986a3d8
commit
3a9590a8a3
1 changed files with 1 additions and 2 deletions
3
dev.nix
3
dev.nix
|
@ -70,8 +70,7 @@ let
|
|||
#!/bin/bash
|
||||
set -euo pipefail
|
||||
|
||||
version=$(toml2json $src | jq -r '.graph | with_entries(select(.key | test("^${package}"))) | to_entries[0].key | capture("(@(?<ve
|
||||
rsion>[^ ]+))") | .version')
|
||||
version=$(toml2json $src | jq -r '.graph | with_entries(select(.key | test("^${package}"))) | to_entries[0].key | capture("(@(?<version>[^ ]+))") | .version')
|
||||
if [[ "${exeName}" = "stylua" ]]; then
|
||||
# Special case for stylua which has versions that start with `v`
|
||||
version="v$version"
|
||||
|
|
Loading…
Add table
Reference in a new issue