Skip to content

Commit

Permalink
chore: format code (need to setup biome/eslint...)
Browse files Browse the repository at this point in the history
  • Loading branch information
WookieFPV committed Jan 22, 2025
1 parent 528721a commit 9a81941
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/detectionHelpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { getLegacyExpoPlugins } from "@expo/prebuild-config";
import { findNodeModuleFolders } from "./findNodeModules.js";

const isPluginIncludedUsed = (pluginList: ExpoPlugin, pkg: string) =>
pluginList?.some(
pluginList?.some(
(plugin) => {
if (typeof plugin === 'string' && plugin.startsWith(pkg)) return true
if (plugin[0] === pkg) return true
Expand Down
2 changes: 1 addition & 1 deletion src/findNodeModules.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import fs from "node:fs";
import path from "node:path";

export const findNodeModuleFolders = ()=> {
export const findNodeModuleFolders = () => {
let currentPath = process.cwd();
const nodeModulesPaths: string[] = [];

Expand Down
2 changes: 1 addition & 1 deletion src/readPackages.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { hasConfigPlugin, getPluginImportType } from "./detectionHelpers.js";
import { getPluginImportType, hasConfigPlugin } from "./detectionHelpers.js";
import type { ExpoCfg } from "./types.js";

export const getPackagePluginList = (config: ExpoCfg,) => {
Expand Down

0 comments on commit 9a81941

Please sign in to comment.