Skip to content

Commit 215a07c

Browse files
javier-godoymlopezFC
authored andcommitted
fix: cleanup @ignore annotation
Close #56
1 parent e740572 commit 215a07c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/main/resources/META-INF/resources/frontend/code-viewer.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -300,10 +300,12 @@ pre[class*="language-"] {
300300
&& !line.startsWith('@PageTitle')
301301
&& !line.startsWith('@DemoSource')
302302
&& !line.startsWith('@SuppressWarnings')
303+
&& !line.startsWith('@Ignore')
303304
&& !line.startsWith('package ')
304305
&& line != 'import com.vaadin.flow.router.PageTitle;'
305306
&& line != 'import com.vaadin.flow.router.Route;'
306307
&& line != 'import com.flowingcode.vaadin.addons.demo.DemoSource;'
308+
&& line != 'import org.junit.Ignore;'
307309
).map(line=>{
308310
let m= line!.match("^(?<spaces>\\s*)//\\s*show-source\\s(?<line>.*)");
309311
return m?m.groups!.spaces+m.groups!.line : line;

0 commit comments

Comments
 (0)