Skip to content

Commit

Permalink
Fix Lie and Davy in doxbee-errors (#1248)
Browse files Browse the repository at this point in the history
* Rename `liar` to `lie` in `doxbee-errors`

* Fix `davy` in `doxbee-errors`
  • Loading branch information
lvivski authored and benjamingr committed Sep 29, 2016
1 parent b080bb9 commit 53dda7b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
global.useLiar = true;
global.useLie = true;

var promise = require("liar");
var promise = require("lie");

require('../lib/fakesP');

Expand Down
3 changes: 1 addition & 2 deletions benchmark/doxbee-sequential-errors/promises-lvivski-davy.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@ module.exports = function upload(stream, idOrPath, tag, done) {
var fileP = self.byUuidOrPath(idOrPath).get();
var version, fileId, file;

davy.all([blobIdP, fileP]).spread(function(all) {
var blobId = all[0], fileV = all[1];
davy.all([blobIdP, fileP]).spread(function(blobId, fileV) {
file = fileV;
var previousId = file ? file.version : null;
version = {
Expand Down

0 comments on commit 53dda7b

Please sign in to comment.