From bb382060b7baebf099cad66e78e0157f05165fc4 Mon Sep 17 00:00:00 2001 From: Amber Torrise Date: Tue, 24 Oct 2023 15:39:51 -0400 Subject: [PATCH] removing await Signed-off-by: Amber Torrise --- src/cli/download/data-set/DataSet.Handler.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cli/download/data-set/DataSet.Handler.ts b/src/cli/download/data-set/DataSet.Handler.ts index 5de31e3e..89245a4c 100644 --- a/src/cli/download/data-set/DataSet.Handler.ts +++ b/src/cli/download/data-set/DataSet.Handler.ts @@ -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 }); }