From 37bf2ce146414c01ffa70c139e176667d5e9f1be Mon Sep 17 00:00:00 2001 From: Sebastian McKenzie Date: Thu, 18 Apr 2019 11:52:56 -0700 Subject: [PATCH] Remove unnecessary top-level `return` Summary: Removes the top-level return used in `run-android-ci-instrumentation-tests.js`. This prevents the file from being parsed as a module. The top-level return here doesn't serve any purpose because it doesn't block the execution of any code after it, as there is no more code to execute. Reviewed By: cpojer Differential Revision: D15000395 fbshipit-source-id: 7acf010bb25dec5048813d01517875bcb6eb5a15 --- .../Dockerfiles/scripts/run-android-ci-instrumentation-tests.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/Dockerfiles/scripts/run-android-ci-instrumentation-tests.js b/.circleci/Dockerfiles/scripts/run-android-ci-instrumentation-tests.js index 6f8a3a7aa7d..06a9c2a45e7 100644 --- a/.circleci/Dockerfiles/scripts/run-android-ci-instrumentation-tests.js +++ b/.circleci/Dockerfiles/scripts/run-android-ci-instrumentation-tests.js @@ -80,7 +80,7 @@ if (test_opts.COUNT != null && test_opts.OFFSET != null) { } } -return async.mapSeries(testClasses, (clazz, callback) => { +async.mapSeries(testClasses, (clazz, callback) => { if (clazz.length > max_test_class_length) { max_test_class_length = clazz.length; }