Skip to content

Commit

Permalink
Merge pull request #319 from janfh/fix/libl
Browse files Browse the repository at this point in the history
Remove duplicates from library list
  • Loading branch information
worksofliam authored Jan 14, 2025
2 parents f8b99fe + 6d6dee5 commit e3d4614
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/connection/manager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export class SQLJobManager {
const config = instance.getConfig();

const newJob = predefinedJob || (new OldSQLJob({
libraries: [config.currentLibrary, ...config.libraryList],
libraries: [config.currentLibrary, ...config.libraryList.filter((item) => item != config.currentLibrary)],
naming: `system`,
"full open": false,
"transaction isolation": "none",
Expand Down Expand Up @@ -161,4 +161,4 @@ export class SQLJobManager {
static getSelfDefault(): SelfValue {
return Configuration.get<SelfValue>(`jobSelfDefault`) || `*NONE`;
}
}
}

0 comments on commit e3d4614

Please sign in to comment.