Trenly / winget-pkgs

The Microsoft community Windows Package Manager manifest repository
MIT License
3 stars 0 forks source link

Test PR 2 #169

Closed Trenly closed 2 years ago

Trenly commented 2 years ago

Note: <path> is the name of the directory containing the manifest you're submitting.


github-actions[bot] commented 2 years ago

@check-spelling-bot Report

Unrecognized words, please review:

To accept these unrecognized words as correct, run the following commands ... in a clone of the [git@github.com:Trenly/winget-pkgs.git](https://github.com/Trenly/winget-pkgs.git) repository on the `LF2` branch: ``` update_files() { perl -e ' my $new_expect_file=".github/actions/spelling/expect.txt"; use File::Path qw(make_path); use File::Basename qw(dirname); make_path (dirname($new_expect_file)); open FILE, q{<}, $new_expect_file; chomp(my @words = ); close FILE; my @add=qw('"$patch_add"'); my %items; @items{@words} = @words x (1); @items{@add} = @add x (1); @words = sort {lc($a)."-".$a cmp lc($b)."-".$b} keys %items; open FILE, q{>}, $new_expect_file; for my $word (@words) { print FILE "$word\n" if $word =~ /\w/; }; close FILE; system("git", "add", $new_expect_file); ' } comment_json=$(mktemp) curl -L -s -S \ --header "Content-Type: application/json" \ "https://api.github.com/repos/Trenly/winget-pkgs/issues/comments/1238497265" > "$comment_json" comment_body=$(mktemp) jq -r .body < "$comment_json" > $comment_body rm $comment_json patch_add=$(perl -e '$/=undef; $_=<>; s{
.*}{}s; s{^#.*}{}; s{\n##.*}{}; s{(?:^|\n)\s*\*}{}g; s{\s+}{ }g; print' < "$comment_body") update_files rm $comment_body git add -u ```
github-actions[bot] commented 2 years ago

@check-spelling-bot Report

Unrecognized words, please review:

To accept these unrecognized words as correct, run the following commands ... in a clone of the [git@github.com:Trenly/winget-pkgs.git](https://github.com/Trenly/winget-pkgs.git) repository on the `LF2` branch: ``` update_files() { perl -e ' my $new_expect_file=".github/actions/spelling/expect.txt"; use File::Path qw(make_path); use File::Basename qw(dirname); make_path (dirname($new_expect_file)); open FILE, q{<}, $new_expect_file; chomp(my @words = ); close FILE; my @add=qw('"$patch_add"'); my %items; @items{@words} = @words x (1); @items{@add} = @add x (1); @words = sort {lc($a)."-".$a cmp lc($b)."-".$b} keys %items; open FILE, q{>}, $new_expect_file; for my $word (@words) { print FILE "$word\n" if $word =~ /\w/; }; close FILE; system("git", "add", $new_expect_file); ' } comment_json=$(mktemp) curl -L -s -S \ --header "Content-Type: application/json" \ "https://api.github.com/repos/Trenly/winget-pkgs/issues/comments/1238503042" > "$comment_json" comment_body=$(mktemp) jq -r .body < "$comment_json" > $comment_body rm $comment_json patch_add=$(perl -e '$/=undef; $_=<>; s{
.*}{}s; s{^#.*}{}; s{\n##.*}{}; s{(?:^|\n)\s*\*}{}g; s{\s+}{ }g; print' < "$comment_body") update_files rm $comment_body git add -u ```