| name | review-fix |
|---|---|
| description | Fetch PR review comments, fix each issue, and resolve the threads |
| argument-hint | <PR-number> [owner/repo] |
| allowed-tools | Bash(gh *), Read, Edit, Write, Grep, Glob |
PR #$0 のレビューコメントを取得し、指摘を修正して、スレッドをResolveする。
| import {Injectable} from '@angular/core'; | |
| import { | |
| HttpRequest, | |
| HttpHandler, | |
| HttpEvent, | |
| HttpInterceptor | |
| } from '@angular/common/http'; | |
| import {Observable} from 'rxjs'; | |
| import {tap} from "rxjs/operators"; | |
| import {AuthService} from "./auth.service"; |
| func getJWKKey(token *jwt.Token) (interface{}, error) { | |
| kid := fmt.Sprintf("%v", token.Header["kid"]) | |
| set, err := jwk.FetchHTTP(jwkKeyURL) | |
| if err != nil { | |
| log.Printf("failed to parse JWK: %s", err) | |
| return nil, err | |
| } |
| # -*- encoding=utf8 -*- | |
| from airtest.core.api import * | |
| auto_setup(__file__) | |
| # 指定画像を捜査しタッチ捜査をおこなう。 | |
| # back.airディレクトリ内に画像配置済み | |
| def back_button(): | |
| touch(Template(r"tpl1550048906014.png", record_pos=(-0.472, -0.255), resolution=(1920, 1080))) |
| //こっちはFunctions側 | |
| import 'package:http/http.dart' as http; | |
| import 'package:sprintf/sprintf.dart'; | |
| const String ENDPOINT = 'https://iid.googleapis.com/iid/v1/%s/rel/topics/%s'; | |
| Future<int> Subscribe(String serverKey, String token, String topic) async { | |
| int status; | |
| var url = sprintf(ENDPOINT, [token, topic]); | |
| print(url); |
| import { BrowserModule } from '@angular/platform-browser'; | |
| import { NgModule } from '@angular/core'; | |
| import {NgbModule} from '@ng-bootstrap/ng-bootstrap'; | |
| import { AppComponent } from './app.component'; | |
| @NgModule({ | |
| declarations: [ | |
| AppComponent | |
| ], | |
| imports: [ |
| flutter doctor | |
| Doctor summary (to see all details, run flutter doctor -v): | |
| [√] Flutter (Channel beta, v0.8.2, on Microsoft Windows [Version 10.0.17134.285], locale ja-JP) | |
| [√] Android toolchain - develop for Android devices (Android SDK 28.0.3) | |
| [√] Android Studio (version 3.2) | |
| [√] VS Code (version 1.27.2) | |
| [!] Connected devices | |
| ! No devices available | |
| ! Doctor found issues in 1 category. |
| choco install dart-lang | |
| choco install androidstudio | |
| flutter doctor | |
| flutter doctor --android-licenses |
| Not ignored files: | |
| └─ dist/bundle.js | |
| Ignored files: | |
| └─ dist/appsscript.json |
| package main | |
| import ( | |
| "context" | |
| "golang.org/x/oauth2" | |
| "fmt" | |
| "log" | |
| "golang.org/x/oauth2/google" | |
| "io/ioutil" | |
| "google.golang.org/api/photoslibrary/v1" |