@xuda.io/drive_module 1.1.553 → 1.1.554
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/index.js +3 -3
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -1407,9 +1407,9 @@ exports.upload_drive_file = async function (req, job_id, headers, file_obj) {
|
|
|
1407
1407
|
};
|
|
1408
1408
|
}
|
|
1409
1409
|
|
|
1410
|
-
if (await fs_module.file_exists(target_file)) {
|
|
1411
|
-
|
|
1412
|
-
}
|
|
1410
|
+
// if (await fs_module.file_exists(target_file)) {
|
|
1411
|
+
// await fs_module.unlink(target_file);
|
|
1412
|
+
// }
|
|
1413
1413
|
}
|
|
1414
1414
|
|
|
1415
1415
|
await fs_module.copy(tempPath, target_file);
|