mirror of
https://github.com/RGBCube/nu_scripts
synced 2025-07-31 14:17:45 +00:00
Fix TWiN script (#944)
At some point this broke, just committing a fix I've had on my personal computer for a while. ``` # This week in Nushell #261 ## Nushell Error: nu:🐚:name_not_found × Name not found ╭─[/home/reilly/github/nu_scripts/make_release/this_week_in_nu_weekly.nu:36:48] 35 │ 36 │ for user in ($site_json | group-by user_login | transpose user prs) { · ─────┬──── · ╰── did you mean 'user.login'? 37 │ let user_name = $user.user ╰──── ```
This commit is contained in:
parent
430951c3b1
commit
614b073310
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ def query-week-span [] {
|
|||
if not ($site_json | all { |it| $it | is-empty }) {
|
||||
print $"(char nl)## ($repo.site)(char nl)"
|
||||
|
||||
for user in ($site_json | group-by user_login | transpose user prs) {
|
||||
for user in ($site_json | group-by "user.login" | transpose user prs) {
|
||||
let user_name = $user.user
|
||||
let pr_count = ($user.prs | length)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue