styles:移除无用Log

This commit is contained in:
hackycy
2020-06-24 16:15:37 +08:00
parent 6937de2f72
commit 829be34026
2 changed files with 0 additions and 2 deletions

View File

@@ -63,7 +63,6 @@ var pbsettingGithubRepohandler = new Handler(
handlerFunc: (BuildContext context, Map<String, List<String>> params) {
var path = params["path"]?.first;
var prePath = params["prePath"]?.first;
print(prePath);
return GithubRepoPage(
path: (path == null || path == '') ? '/' : Uri.decodeComponent(path),
prePath: (prePath == null || prePath == '') ? '' : Uri.decodeComponent(prePath),

View File

@@ -30,7 +30,6 @@ class GithubRepoPagePresenter {
}
String realUrl = pathutil
.joinAll(['repos', config.repositoryName, 'contents', prePath ?? '', path == '/' ? '' : path]);
print(realUrl);
List result = await GithubNetUtils.get(realUrl, params: {"ref": config.branchName});
var data = result.map((e){
return GithubContent.fromJson(e);