mirror of
https://github.com/expo/config-plugins.git
synced 2026-11-13 20:28:07 -10:00
chore(react-native-dynamic-app-icon): lint fix
This commit is contained in:
1 parent
241d378a54
commit
ce1a818564
1 file changed
+2
-3
@@ -9,6 +9,8 @@ import {
|
||||
import { generateImageAsync } from "@expo/image-utils";
|
||||
import fs from "fs";
|
||||
import path from "path";
|
||||
// @ts-ignore
|
||||
import pbxFile from "xcode/lib/pbxFile";
|
||||
|
||||
const folderName = "DynamicAppIcons";
|
||||
const size = 60;
|
||||
@@ -56,9 +58,6 @@ function getIconName(name: string, size: number, scale?: number) {
|
||||
return fileName;
|
||||
}
|
||||
|
||||
// @ts-ignore
|
||||
import pbxFile from "xcode/lib/pbxFile";
|
||||
|
||||
const withIconXcodeProject: ConfigPlugin<Props> = (config, { icons }) => {
|
||||
return withXcodeProject(config, async (config) => {
|
||||
const groupPath = `${config.modRequest.projectName!}/${folderName}`;
|
||||
|
||||
Reference in new issue
Block a user