Skip to content
This repository was archived by the owner on Jun 17, 2025. It is now read-only.

Commit b3f9a06

Browse files
committed
Remove unused code
This fixes failing lint checks.
1 parent 88a23d0 commit b3f9a06

File tree

1 file changed

+0
-24
lines changed

1 file changed

+0
-24
lines changed

packages/xdl/src/detach/IosPodsTools.js

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -199,17 +199,6 @@ async function _renderVersionedReactNativeDependenciesAsync(
199199
return result;
200200
}
201201

202-
async function _renderVersionedReactNativePostinstallsAsync(
203-
templatesDirectory,
204-
shellAppSdkVersion
205-
) {
206-
const filterFn = createSdkFilterFn(shellAppSdkVersion);
207-
return _concatTemplateFilesInDirectoryAsync(
208-
path.join(templatesDirectory, 'versioned-react-native', 'postinstalls'),
209-
filterFn
210-
);
211-
}
212-
213202
async function _concatTemplateFilesInDirectoryAsync(directory, filterFn) {
214203
const templateFilenames = globSync('*.rb', { absolute: true, cwd: directory }).sort();
215204
const filteredTemplateFilenames = filterFn
@@ -352,15 +341,6 @@ async function renderPodfileAsync(
352341
rnDependencyOptions = {};
353342
}
354343

355-
const expoKitPath = moreSubstitutions.EXPOKIT_PATH;
356-
const expoKitTag = moreSubstitutions.EXPOKIT_TAG;
357-
let expoKitDependencyOptions = {};
358-
if (expoKitPath) {
359-
expoKitDependencyOptions = { expoKitPath };
360-
} else if (expoKitTag) {
361-
expoKitDependencyOptions = { expoKitTag };
362-
}
363-
364344
let versionedRnPath = moreSubstitutions.VERSIONED_REACT_NATIVE_PATH;
365345
if (!versionedRnPath) {
366346
versionedRnPath = './versioned-react-native';
@@ -376,10 +356,6 @@ async function renderPodfileAsync(
376356
rnExpoSubspecs,
377357
shellAppSdkVersion
378358
);
379-
const versionedPostinstalls = await _renderVersionedReactNativePostinstallsAsync(
380-
templatesDirectory,
381-
shellAppSdkVersion
382-
);
383359
const podDependencies = await _renderPodDependenciesAsync(
384360
path.join(templatesDirectory, 'dependencies.json'),
385361
{ isPodfile: true }

0 commit comments

Comments
 (0)