Изменить сигнатуру onAuth

This commit is contained in:
Михаил Капелько
2020-07-16 15:58:02 +03:00
parent 22bd061cb4
commit 107304ccc1

View File

@@ -32,7 +32,7 @@ const ИМЯ = "test-cors";
dir: мир.директория,
remote: мир.источник,
ref: мир.ветка,
onAuth: function(url) {
onAuth: url => {
var auth = {
"username": мир.пользователь,
"password": мир.пароль,
@@ -40,7 +40,7 @@ const ИМЯ = "test-cors";
var json = JSON.stringify(auth);
console.debug(`Auth url: '${url}' auth: '${json}'`);
return auth;
},
}
});
console.debug("закомитали")