Skip to content

Commit 2b81326

Browse files
committed
remove unused code
1 parent 6b721f6 commit 2b81326

File tree

1 file changed

+0
-20
lines changed

1 file changed

+0
-20
lines changed

scripts/exp/prepare-firestore-for-exp-release.ts

-20
Original file line numberDiff line numberDiff line change
@@ -76,24 +76,4 @@ export async function prepare() {
7676
`${JSON.stringify(packageJson, null, 2)}\n`,
7777
{ encoding: 'utf-8' }
7878
);
79-
80-
const expTypingPath = `${packagePath}/${packageJson.typings}`;
81-
const liteTypingPath = path.resolve(
82-
`${packagePath}/lite`,
83-
litePackageJson.typings
84-
);
85-
86-
// remove -exp in typings files
87-
// await replaceAppTypesExpInFile(expTypingPath);
88-
// await replaceAppTypesExpInFile(liteTypingPath);
89-
}
90-
91-
async function replaceAppTypesExpInFile(filePath: string): Promise<void> {
92-
const fileContent = await readFile(filePath, { encoding: 'utf-8' });
93-
const newFileContent = fileContent.replace(
94-
'@firebase/app-types-exp',
95-
'@firebase/app-types'
96-
);
97-
98-
await writeFile(filePath, newFileContent, { encoding: 'utf-8' });
9979
}

0 commit comments

Comments
 (0)