Skip to content

Commit

Permalink
fix: attempt to debug revert failure
Browse files Browse the repository at this point in the history
  • Loading branch information
cecilia-sanare committed Aug 9, 2023
1 parent 8cdd1c1 commit 7ace355
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
3 changes: 1 addition & 2 deletions packages/core/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@ export async function Refreshly(...sources: SourceModule[]) {
})
);
} catch (error) {
Logger.error(error?.toString() ?? error);

console.error(error);
process.exit(1);
}
}
Expand Down
9 changes: 7 additions & 2 deletions packages/github/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,13 @@ class GitHubTargetModule implements ITargetModule {
);
}

revert = this.update;
target = this.update;
async revert(keyInfos: KeyInfo[]): Promise<void> {
await this.update(keyInfos);
}

async target(keyInfos: KeyInfo[]): Promise<void> {
await this.update(keyInfos);
}
}

namespace GitHubTargetModule {
Expand Down

0 comments on commit 7ace355

Please sign in to comment.