Skip to content

Commit a9fb1ec

Browse files
authored
Merge pull request #171 from ShMcK/feature/remove-file-format-filter
remove file formats file filter
2 parents 5ed8b96 + 8807c79 commit a9fb1ec

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

src/actions/tutorialConfig.ts

-9
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-
const fileFormats = config.testRunner.fileFormats
41-
4240
// verify if file test should run based on document saved
4341
const shouldRunTest = (document: vscode.TextDocument): boolean => {
4442
// must be a file
4543
if (document.uri.scheme !== 'file') {
4644
return false
4745
}
48-
// must configure with file formatss
49-
if (fileFormats && fileFormats.length) {
50-
const fileFormat: G.FileFormat = languageMap[document.languageId]
51-
if (!fileFormats.includes(fileFormat)) {
52-
return false
53-
}
54-
}
5546
return true
5647
}
5748

0 commit comments

Comments
 (0)