Skip to content

Commit

Permalink
removing await
Browse files Browse the repository at this point in the history
Signed-off-by: Amber Torrise <[email protected]>
  • Loading branch information
Amber Torrise committed Oct 24, 2023
1 parent 464e154 commit bb38206
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cli/download/data-set/DataSet.Handler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export default class DownloadDataSetHandler extends FTPBaseHandler {
params.arguments.file;
try {
// Validate the destination file name before proceeding
if (!(await Utilities.isValidFileName(file))) {
if (!(Utilities.isValidFileName(file))) {
throw new ImperativeError({ msg: ZosFilesMessages.invalidFileName.message });
}

Expand Down

0 comments on commit bb38206

Please sign in to comment.