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

Unified Diff: tracing/tracing/importer/empty_importer.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
Index: tracing/tracing/importer/empty_importer.html
diff --git a/tracing/tracing/importer/empty_importer.html b/tracing/tracing/importer/empty_importer.html
index 535571532206530ae555a4e765421250f71d7310..2f876b3708ea0b9b835f8b9d85ef2f7ccba5bfab 100644
--- a/tracing/tracing/importer/empty_importer.html
+++ b/tracing/tracing/importer/empty_importer.html
@@ -23,8 +23,9 @@ tr.exportTo('tr.importer', function() {
}
EmptyImporter.canImport = function(eventData) {
- if (eventData instanceof Array && eventData.length === 0)
+ if (eventData instanceof Array && eventData.length === 0) {
return true;
+ }
if (typeof(eventData) === 'string' || eventData instanceof String) {
return eventData.length === 0;
}
« no previous file with comments | « tracing/tracing/importer/context_processor.html ('k') | tracing/tracing/importer/find_input_expectations.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698