Skip to content

Commit

Permalink
remove debug output and make tests work
Browse files Browse the repository at this point in the history
  • Loading branch information
niccokunzmann committed Aug 24, 2018
1 parent 977c0ec commit 0d0f65d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 0 additions & 2 deletions services/f-droid/f-droid.service.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ module.exports = class FDroid extends BaseHTTPService {
},
}).then(({ res, buffer }) => {
const website = buffer.toString();
console.log("website");
console.log(website);
// we assume the layout as provided here:
// https://gitlab.com/fdroid/fdroid-website/blob/9ae61894a18889ed749d36d5afbd0db3d0b0cfdd/_layouts/package.html#L147
const match = website.match(/<div\s[^>]*class="package-version-header"(?:\s[^>]*)?>[^<]*<a\s+name="([^:>]*)"(?:\s[^>]*)?>/);
Expand Down
6 changes: 3 additions & 3 deletions services/f-droid/f-droid.tester.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 0d0f65d

Please sign in to comment.