Skip to content

Commit

Permalink
npx error test
Browse files Browse the repository at this point in the history
  • Loading branch information
dawidk92 committed Nov 20, 2024
1 parent 89caa58 commit e6e48e7
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,14 @@ function getByChannel({ channel, projectRoot }: { channel: string; projectRoot:
try {
// Run EAS channel view command and capture output
const result = runShellCommand({
command: `npx --yes eas-cli channel:view ${channel} --json --non-interactive`,
// command: `npx --yes eas-cli channel:view ${channel} --json --non-interactive`,
command: `npx --yes eas channel:view ${channel} --json --non-interactive`,
projectRoot,
});

const data = JSON.parse(result);
const updateGroups = data.currentPage?.updateBranches?.[0]?.updateGroups?.[0];

console.log('getByChannel:data', data);

if (!updateGroups) {
throwError({
message: `No updates found for channel "${channel}"`,
Expand Down

0 comments on commit e6e48e7

Please sign in to comment.