@fern-api/replay 0.6.1 → 0.6.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -201,7 +201,7 @@ declare class ReplayCommitter {
201
201
  private outputDir;
202
202
  constructor(git: GitClient, outputDir: string);
203
203
  commitGeneration(message: string, options?: CommitOptions): Promise<string>;
204
- commitReplay(patchCount: number, patches?: StoredPatch[]): Promise<string>;
204
+ commitReplay(_patchCount: number, patches?: StoredPatch[]): Promise<string>;
205
205
  createGenerationRecord(options?: CommitOptions): Promise<GenerationRecord>;
206
206
  stageAll(): Promise<void>;
207
207
  hasStagedChanges(): Promise<boolean>;
package/dist/index.d.ts CHANGED
@@ -201,7 +201,7 @@ declare class ReplayCommitter {
201
201
  private outputDir;
202
202
  constructor(git: GitClient, outputDir: string);
203
203
  commitGeneration(message: string, options?: CommitOptions): Promise<string>;
204
- commitReplay(patchCount: number, patches?: StoredPatch[]): Promise<string>;
204
+ commitReplay(_patchCount: number, patches?: StoredPatch[]): Promise<string>;
205
205
  createGenerationRecord(options?: CommitOptions): Promise<GenerationRecord>;
206
206
  stageAll(): Promise<void>;
207
207
  hasStagedChanges(): Promise<boolean>;
package/dist/index.js CHANGED
@@ -929,12 +929,12 @@ CLI Version: ${options.cliVersion}`;
929
929
  await this.git.exec(["commit", "-m", fullMessage]);
930
930
  return (await this.git.exec(["rev-parse", "HEAD"])).trim();
931
931
  }
932
- async commitReplay(patchCount, patches) {
932
+ async commitReplay(_patchCount, patches) {
933
933
  await this.stageAll();
934
934
  if (!await this.hasStagedChanges()) {
935
935
  return (await this.git.exec(["rev-parse", "HEAD"])).trim();
936
936
  }
937
- let fullMessage = `[fern-replay] Applied ${patchCount} customization(s)`;
937
+ let fullMessage = `[fern-replay] Applied customizations`;
938
938
  if (patches && patches.length > 0) {
939
939
  fullMessage += "\n\nPatches replayed:";
940
940
  for (const patch of patches) {