Skip to content
Snippets Groups Projects
Commit c7fcc4f7 authored by Cédric Moreau's avatar Cédric Moreau
Browse files

Fix: new Promise() in sync.js

parent 526291f6
No related branches found
No related tags found
No related merge requests found
......@@ -249,7 +249,7 @@ function Synchroniser (server, host, port, conf, interactive) {
};
function getVucoin(theHost, thePort, options) {
return Promise(function(resolve, reject){
return new Promise(function(resolve, reject){
vucoin(theHost, thePort, function (err, node) {
if(err){
return reject('Cannot sync: ' + err);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment