Skip to content

Commit

Permalink
fixed lint error:
Browse files Browse the repository at this point in the history
Signed-off-by: Pujal <[email protected]>
  • Loading branch information
pujal0909 committed Jan 8, 2025
1 parent d86d4ed commit 827ce83
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -574,9 +574,11 @@ describe("Copy", () => {
it("should return early if the source and target data sets are identical", async () => {
const response = await Copy.dataSet(
dummySession,
{ dsn: fromDataSetName},
{"from-dataset": { dsn: fromDataSetName}
});
{dsn: fromDataSetName},
{"from-dataset": {
dsn: fromDataSetName
}}
);

expect(response).toEqual({
success: false,
Expand Down
2 changes: 1 addition & 1 deletion packages/zosfiles/src/methods/copy/Copy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ export class Copy {
return {
success: false,
commandResponse: ZosFilesMessages.identicalDataSets.message
}
};
}

const targetDataSetExists = await this.dataSetExists(session, toDataSetName);
Expand Down

0 comments on commit 827ce83

Please sign in to comment.