Skip to content

Commit

Permalink
fix type
Browse files Browse the repository at this point in the history
  • Loading branch information
grant0417 committed Nov 6, 2023
1 parent 25c6315 commit eaf981c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/react-native.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ const iosGetDevicesGenerator = {
};

const iosGetDevicesUdidGenerator = {
script: ["bash", "-c", "xcrun xctrace list devices"],
script: ["xcrun", "xctrace", "list", "devices"],
postProcess: (scriptOutput: string) => {
const devices = scriptOutput
.split("\n")
Expand Down
3 changes: 2 additions & 1 deletion src/shopify/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ export const getVersionCommand: Fig.GetVersionCommand = async (
const versionRegex = /\d+\.\d+\.\d+/;
const { stdout } = await executeShellCommand({
command: "shopify",
args: "version",
// eslint-disable-next-line @withfig/fig-linter/no-useless-arrays
args: ["version"],
});
return stdout.match(versionRegex)?.[0] ?? "";
};
Expand Down

0 comments on commit eaf981c

Please sign in to comment.