Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commita9fb1ec

Browse files
authored
Merge pull requestcoderoad#171 from ShMcK/feature/remove-file-format-filter
remove file formats file filter
2 parents5ed8b96 +8807c79 commita9fb1ec

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

‎src/actions/tutorialConfig.ts

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -37,21 +37,12 @@ const tutorialConfig = async (
3737

3838
vscode.commands.executeCommand(COMMANDS.CONFIG_TEST_RUNNER,config.testRunner)
3939

40-
constfileFormats=config.testRunner.fileFormats
41-
4240
// verify if file test should run based on document saved
4341
constshouldRunTest=(document:vscode.TextDocument):boolean=>{
4442
// must be a file
4543
if(document.uri.scheme!=='file'){
4644
returnfalse
4745
}
48-
// must configure with file formatss
49-
if(fileFormats&&fileFormats.length){
50-
constfileFormat:G.FileFormat=languageMap[document.languageId]
51-
if(!fileFormats.includes(fileFormat)){
52-
returnfalse
53-
}
54-
}
5546
returntrue
5647
}
5748

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp