feat: adjust formatting for clang-format v1.0.19.
This commit is contained in:
@ -72,9 +72,7 @@ class MockMetric extends Metric {
|
||||
|
||||
endMeasure(restart: boolean): Promise<StringMap<string, any>> {
|
||||
var result = {};
|
||||
result[this._id] = {
|
||||
'restart': restart
|
||||
};
|
||||
result[this._id] = {'restart': restart};
|
||||
return PromiseWrapper.resolve(result);
|
||||
}
|
||||
|
||||
|
@ -18,9 +18,8 @@ export function main() {
|
||||
var reporter;
|
||||
var log;
|
||||
|
||||
function createReporter({columnWidth = null, sampleId = null, descriptions = null, metrics = null}:{
|
||||
columnWidth?, sampleId?, descriptions?, metrics?
|
||||
}) {
|
||||
function createReporter({columnWidth = null, sampleId = null, descriptions = null,
|
||||
metrics = null}: {columnWidth?, sampleId?, descriptions?, metrics?}) {
|
||||
log = [];
|
||||
if (isBlank(descriptions)) {
|
||||
descriptions = [];
|
||||
|
@ -31,10 +31,7 @@ export function main() {
|
||||
bind(Options.NOW).toValue(() => DateWrapper.fromMillis(1234)),
|
||||
bind(Options.WRITE_FILE)
|
||||
.toValue((filename, content) => {
|
||||
loggedFile = {
|
||||
'filename': filename,
|
||||
'content': content
|
||||
};
|
||||
loggedFile = {'filename': filename, 'content': content};
|
||||
return PromiseWrapper.resolve(null);
|
||||
})
|
||||
];
|
||||
|
Reference in New Issue
Block a user