Revert "use reliable way to detect createtable statements (#19897)" (#19906)

This reverts commit 9a22c429a9.
This commit is contained in:
Alan Ren
2022-07-01 11:47:21 -07:00
committed by GitHub
parent 4ec2d78269
commit c211fb981c
8 changed files with 5 additions and 45 deletions

View File

@@ -6,7 +6,6 @@
import * as path from 'path';
import * as os from 'os';
import * as constants from '../common/constants';
import * as templates from '../templates/templates';
import { promises as fs } from 'fs';
import should = require('should');
@@ -35,10 +34,6 @@ export async function createTestSqlProjFile(contents: string, folderPath?: strin
}
export async function createTestProject(contents: string, folderPath?: string): Promise<Project> {
const macroDict: Record<string, string> = {
'PROJECT_DSP': constants.defaultDSP
};
contents = templates.macroExpansion(contents, macroDict);
return await Project.openProject(await createTestSqlProjFile(contents, folderPath));
}