Skip to content

Commit 99f0ef6

Browse files
fix: less LICENSE fetch url (nushell#17002)
Fetching 'blob' would return Github's large HTML response _(technically - that does contain `less` license content)_. However, fetching 'raw' would exactly return the desired content. <!-- Thank you for improving Nushell! Please, read our contributing guide: https://github.com/nushell/nushell/blob/main/CONTRIBUTING.md --> _Note: removed 'Release notes summary' section and 'Tasks after submitting' section given the inconsequential nature of this change._
1 parent 5b4ed82 commit 99f0ef6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/release-pkg.nu

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ def fetch-less [
227227
let less_zip = $'less-($arch).zip'
228228
print $'Fetching less archive: (ansi g)($less_zip)(ansi reset)'
229229
let url = $'https://github.com/jftuga/less-Windows/releases/download/less-v668/($less_zip)'
230-
http get https://github.com/jftuga/less-Windows/blob/master/LICENSE | save -rf LICENSE-for-less.txt
230+
http get https://github.com/jftuga/less-Windows/raw/master/LICENSE | save -rf LICENSE-for-less.txt
231231
http get $url | save -rf $less_zip
232232
unzip $less_zip
233233
rm $less_zip lesskey.exe

0 commit comments

Comments
 (0)