From 279b571449bdebe228c35a9404ebd24c6a09d0d0 Mon Sep 17 00:00:00 2001 From: Ben McCann <322311+benmccann@users.noreply.github.com> Date: Thu, 19 Nov 2020 10:42:29 -0800 Subject: [PATCH] Fix eslint issue --- src/compiler/utils/string_with_sourcemap.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/compiler/utils/string_with_sourcemap.ts b/src/compiler/utils/string_with_sourcemap.ts index 7f8a0ec1eb..421a0c1fbd 100644 --- a/src/compiler/utils/string_with_sourcemap.ts +++ b/src/compiler/utils/string_with_sourcemap.ts @@ -227,8 +227,9 @@ export function combine_sourcemaps( if (sourcefile === filename && sourcemap_list[map_idx]) { return sourcemap_list[map_idx++]; // idx 1, 2, ... // bundle file = branch node + } else { + return null; // source file = leaf node } - else return null; // source file = leaf node } as SourceMapLoader, true );