Skip to content

Commit e3248e8

Browse files
committed
B2B-2015: [AWS S3] [Integration Tests]: Investigate Test Failures in Framework
1 parent dc8b5db commit e3248e8

File tree

1 file changed

+1
-1
lines changed
  • app/code/Magento/RemoteStorage/Plugin

1 file changed

+1
-1
lines changed

app/code/Magento/RemoteStorage/Plugin/Image.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ private function copyFileToTmp($filePath): string
192192
$this->tmpDirectoryWrite->create();
193193
$tmpPath = $this->storeTmpName($filePath);
194194
$content = $this->remoteDirectoryWrite->getDriver()->fileGetContents($filePath);
195-
$filePath = $this->tmpDirectoryWrite->getDriver()->filePutContents($tmpPath, $content)
195+
$filePath = $this->tmpDirectoryWrite->getDriver()->filePutContents($tmpPath, $content) !== false
196196
? $tmpPath
197197
: $filePath;
198198
}

0 commit comments

Comments
 (0)