From f07df8967a76d1c38275d756e4ae86437be2a934 Mon Sep 17 00:00:00 2001 From: Eric Cornelson Date: Wed, 20 Mar 2019 12:06:07 -0500 Subject: [PATCH] Add ability to use block comments for breakpoint labels --- test/int/labels.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/int/labels.ts b/test/int/labels.ts index c6906c5..9a4c516 100644 --- a/test/int/labels.ts +++ b/test/int/labels.ts @@ -15,7 +15,7 @@ import * as path from 'path'; const readdirAsync = util.promisify(fs.readdir); -const labelRegex = /\/\/\s*bpLabel:\s*(.+?)\b/mg; +const labelRegex = /(\/\/|\/\*)\s*bpLabel:\s*(.+?)\b/mg; const ignoreList = [ 'node_modules', '.git' ]; /** @@ -71,7 +71,7 @@ export async function loadLabelsFromFile(filePath: string): Promise