Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5ed8b96 + 8807c79 commit a9fb1ecCopy full SHA for a9fb1ec
src/actions/tutorialConfig.ts
@@ -37,21 +37,12 @@ const tutorialConfig = async (
37
38
vscode.commands.executeCommand(COMMANDS.CONFIG_TEST_RUNNER, config.testRunner)
39
40
- const fileFormats = config.testRunner.fileFormats
41
-
42
// verify if file test should run based on document saved
43
const shouldRunTest = (document: vscode.TextDocument): boolean => {
44
// must be a file
45
if (document.uri.scheme !== 'file') {
46
return false
47
}
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
55
return true
56
57
0 commit comments