Skip to content

Commit

Permalink
Now added delete for real
Browse files Browse the repository at this point in the history
  • Loading branch information
omrilotan committed Jul 7, 2020
1 parent 18bfbff commit 6bfeb26
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/github/examples/repo-list.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ module.exports = async function myRepos(token) {
const result = await paged('user/repos?sort=updated');

return result.map(
({ name }) => name
({ name }) => name,
);
};
2 changes: 1 addition & 1 deletion packages/github/lib/setParam/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ module.exports = function setParam(url, key, value) {
key,
typeof value === 'undefined'
? url.searchParams.get(key)
: value
: value,
);
return url.toString();
};
2 changes: 1 addition & 1 deletion spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ chai.use(require('chai-string'));
chai.use(require('chai-as-promised'));
chai.use(require('sinon-chai'));
const sinon = require('sinon');
const abuser = require('abuser');
const wait = require('./packages/wait');
const sleep = require('./packages/sleep');
const abuser = require('abuser');

Object.assign(
global,
Expand Down

0 comments on commit 6bfeb26

Please sign in to comment.