Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(506)

Unified Diff: tracing/tracing/mre/map_single_trace_cmdline.html

Issue 2776653002: [ESLint] Fix violations when enabling curly rule in eslint. (Closed)
Patch Set: rebase Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tracing/tracing/mre/job.html ('k') | tracing/tracing/mre/mre_result.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tracing/tracing/mre/map_single_trace_cmdline.html
diff --git a/tracing/tracing/mre/map_single_trace_cmdline.html b/tracing/tracing/mre/map_single_trace_cmdline.html
index 39ea589f86a36b747cf24c112f490b0d6b194009..945e9f7764bc26dff5c83f8bc07804f071c9cb08 100644
--- a/tracing/tracing/mre/map_single_trace_cmdline.html
+++ b/tracing/tracing/mre/map_single_trace_cmdline.html
@@ -64,8 +64,9 @@ tr.exportTo('tr.mre', function() {
}
function mapSingleTraceMain(args) {
- if (args.length !== 2 && args.length !== 3)
+ if (args.length !== 2 && args.length !== 3) {
throw new Error('Must provide two or three arguments.');
+ }
var options = {
traceHandle: tr.mre.FileHandle.fromDict(JSON.parse(args[0])),
@@ -85,7 +86,8 @@ tr.exportTo('tr.mre', function() {
};
});
-if (tr.isHeadless)
+if (tr.isHeadless) {
quit(tr.mre.mapSingleTraceMain(sys.argv.slice(1)));
+}
</script>
« no previous file with comments | « tracing/tracing/mre/job.html ('k') | tracing/tracing/mre/mre_result.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698