From 14001641663a169eaf46c8b1d6474ba81a33a52a Mon Sep 17 00:00:00 2001 From: Kishore <42832651+kishore03109@users.noreply.github.com> Date: Wed, 28 Jun 2023 11:28:02 +0800 Subject: [PATCH] fix(mediaFileServices): dont perform check on original file due to existence of legacy files --- src/services/fileServices/MdPageServices/MediaFileService.js | 1 - 1 file changed, 1 deletion(-) diff --git a/src/services/fileServices/MdPageServices/MediaFileService.js b/src/services/fileServices/MdPageServices/MediaFileService.js index 3a32b913e..b8631a6f2 100644 --- a/src/services/fileServices/MdPageServices/MediaFileService.js +++ b/src/services/fileServices/MdPageServices/MediaFileService.js @@ -116,7 +116,6 @@ class MediaFileService { githubSessionData, { oldFileName, newFileName, directoryName, sha } ) { - this.mediaNameChecks({ directoryName, fileName: oldFileName }) this.mediaNameChecks({ directoryName, fileName: newFileName }) const oldExt = getFileExt(oldFileName) const newExt = getFileExt(newFileName)