modify the indentation symbol
This commit is contained in:
@@ -17,9 +17,11 @@ var callServiceList = rpc.declare({
|
|||||||
params: ['name'],
|
params: ['name'],
|
||||||
expect: { '': {} }
|
expect: { '': {} }
|
||||||
});
|
});
|
||||||
|
|
||||||
function enquoteBigNumber(str) {
|
function enquoteBigNumber(str) {
|
||||||
return str.replace(/("\w+"):\s*(\d+)/g, '$1:"$2"');
|
return str.replace(/("\w+"):\s*(\d+)/g, '$1:"$2"');
|
||||||
}
|
}
|
||||||
|
|
||||||
function getStatus() {
|
function getStatus() {
|
||||||
var status = {};
|
var status = {};
|
||||||
return Promise.resolve(callServiceList('tailscale')).then(function (res) {
|
return Promise.resolve(callServiceList('tailscale')).then(function (res) {
|
||||||
|
|||||||
Reference in New Issue
Block a user