@@ -10,7 +10,7 @@ import {
1010 isCodespacesTemplate ,
1111 setAutogenerateQlPacks ,
1212} from "../../config" ;
13- import { extname , join } from "path" ;
13+ import { join } from "path" ;
1414import { FullDatabaseOptions } from "./database-options" ;
1515import { DatabaseItemImpl } from "./database-item-impl" ;
1616import {
@@ -164,10 +164,7 @@ export class DatabaseManager extends DisposableObject {
164164 displayName : string | undefined ,
165165 ) : Promise < DatabaseItemImpl > {
166166 const contents = await DatabaseResolver . resolveDatabaseContents ( uri ) ;
167- // Ignore the source archive for QLTest databases by default.
168- const isQLTestDatabase = extname ( uri . fsPath ) === ".testproj" ;
169167 const fullOptions : FullDatabaseOptions = {
170- ignoreSourceArchive : isQLTestDatabase ,
171168 // If a displayName is not passed in, the basename of folder containing the database is used.
172169 displayName,
173170 dateAdded : Date . now ( ) ,
@@ -331,16 +328,12 @@ export class DatabaseManager extends DisposableObject {
331328 state : PersistedDatabaseItem ,
332329 ) : Promise < DatabaseItemImpl > {
333330 let displayName : string | undefined = undefined ;
334- let ignoreSourceArchive = false ;
335331 let dateAdded = undefined ;
336332 let language = undefined ;
337333 if ( state . options ) {
338334 if ( typeof state . options . displayName === "string" ) {
339335 displayName = state . options . displayName ;
340336 }
341- if ( typeof state . options . ignoreSourceArchive === "boolean" ) {
342- ignoreSourceArchive = state . options . ignoreSourceArchive ;
343- }
344337 if ( typeof state . options . dateAdded === "number" ) {
345338 dateAdded = state . options . dateAdded ;
346339 }
@@ -354,7 +347,6 @@ export class DatabaseManager extends DisposableObject {
354347 }
355348
356349 const fullOptions : FullDatabaseOptions = {
357- ignoreSourceArchive,
358350 displayName,
359351 dateAdded,
360352 language,
0 commit comments