mirror of
https://github.com/0x5eal/luau-unzip.git
synced 2025-04-10 17:20: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
|
#!/bin/bash
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
|
|
||||||
version=$(toml2json $src | jq -r '.graph | with_entries(select(.key | test("^${package}"))) | to_entries[0].key | capture("(@(?<ve
|
version=$(toml2json $src | jq -r '.graph | with_entries(select(.key | test("^${package}"))) | to_entries[0].key | capture("(@(?<version>[^ ]+))") | .version')
|
||||||
rsion>[^ ]+))") | .version')
|
|
||||||
if [[ "${exeName}" = "stylua" ]]; then
|
if [[ "${exeName}" = "stylua" ]]; then
|
||||||
# Special case for stylua which has versions that start with `v`
|
# Special case for stylua which has versions that start with `v`
|
||||||
version="v$version"
|
version="v$version"
|
||||||
|
|
Loading…
Add table
Reference in a new issue