Lint.
This commit is contained in:
parent
5006fd25c0
commit
c586a25992
@ -59,6 +59,6 @@ export const logResolvers = {
|
||||
timestamp: new Date().toUTCString(),
|
||||
json: JSON.stringify({ incremental, lines })
|
||||
};
|
||||
},
|
||||
}
|
||||
}
|
||||
};
|
||||
|
@ -6,7 +6,7 @@ import moment from 'moment';
|
||||
import pick from 'lodash.pick';
|
||||
import os from 'os';
|
||||
import si from 'systeminformation';
|
||||
import { spawnSync } from "child_process";
|
||||
import { spawnSync } from 'child_process';
|
||||
|
||||
const num = new Intl.NumberFormat('en', { maximumSignificantDigits: 3 });
|
||||
|
||||
@ -88,7 +88,7 @@ const getServiceInfo = async () => {
|
||||
|
||||
const child = spawnSync(command, args, { encoding: 'utf8' });
|
||||
return JSON.parse(child.stdout);
|
||||
}
|
||||
};
|
||||
|
||||
export const systemResolvers = {
|
||||
Query: {
|
||||
@ -107,6 +107,6 @@ export const systemResolvers = {
|
||||
timestamp: new Date().toUTCString(),
|
||||
json: JSON.stringify(serviceInfo)
|
||||
};
|
||||
},
|
||||
}
|
||||
}
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user