@testomatio/reporter 1.6.0-beta-5-artifacts → 1.6.0-beta-6-artifacts
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/uploader.js +1 -1
- package/package.json +1 -1
package/lib/uploader.js
CHANGED
|
@@ -162,7 +162,7 @@ class S3Uploader {
|
|
|
162
162
|
|
|
163
163
|
const tempFilePath = this.#getUploadFilePath(runId);
|
|
164
164
|
|
|
165
|
-
if (!path.isAbsolute(filePath)) {
|
|
165
|
+
if (typeof filePath === 'string' && !path.isAbsolute(filePath)) {
|
|
166
166
|
filePath = path.join(process.cwd(), filePath);
|
|
167
167
|
}
|
|
168
168
|
|