Changing "files" to "sqlObjectScripts" to be more accurate (#22899)

* Changing "files" to "sqlObjectScripts" to be more accurate

* fixing func call
This commit is contained in:
Benjin Dubishar
2023-05-01 08:31:13 -07:00
committed by GitHub
parent b86463ee71
commit 6b1dd0e468
8 changed files with 85 additions and 85 deletions

View File

@@ -106,7 +106,7 @@ export default class MainController implements vscode.Disposable {
isNewTable: false,
tableScriptPath: filePath,
projectFilePath: projectPath,
allScripts: project.files.filter(entry => entry.type === EntryType.File && path.extname(entry.fsUri.fsPath).toLowerCase() === constants.sqlFileExtension)
allScripts: project.sqlObjectScripts.filter(entry => entry.type === EntryType.File && path.extname(entry.fsUri.fsPath).toLowerCase() === constants.sqlFileExtension)
.map(entry => entry.fsUri.fsPath),
targetVersion: targetVersion
}, {