This is an automated email from the ASF dual-hosted git repository.

randall pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-annotator.git

commit d36f7ffaa1a50b5c06c00f78ae9bc3d1eb2e37f3
Author: Randall Leeds <[email protected]>
AuthorDate: Sat Apr 3 20:18:54 2021 -0700

    Fix style lint in babel.config.js
---
 babel.config.js | 10 ++--------
 1 file changed, 2 insertions(+), 8 deletions(-)

diff --git a/babel.config.js b/babel.config.js
index d3f3204..945e63d 100644
--- a/babel.config.js
+++ b/babel.config.js
@@ -56,14 +56,8 @@ module.exports = (api) => {
     alias: {
       ...(DEV || TEST
         ? {
-            '^@apache-annotator/([^/]+)$': ([, name]) => {
-              return path.join(
-                __dirname,
-                'packages',
-                name,
-                '/src/index.ts'
-              )
-            },
+            '^@apache-annotator/([^/]+)$': ([, name]) =>
+              path.join(__dirname, 'packages', name, '/src/index.ts'),
           }
         : null),
     },

Reply via email to