@kevisual/oss 0.0.11 → 0.0.12
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/dist/index.js +0 -3
- package/dist/services/config.js +0 -3
- package/dist/services/index.js +0 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2568,9 +2568,6 @@ var OssBase = class {
|
|
|
2568
2568
|
const bucketName = this.bucketName;
|
|
2569
2569
|
try {
|
|
2570
2570
|
const obj = await this.client.statObject(bucketName, `${this.prefix}${objectName}`);
|
|
2571
|
-
if (obj && checkFile && obj.size === 0) {
|
|
2572
|
-
return null;
|
|
2573
|
-
}
|
|
2574
2571
|
return obj;
|
|
2575
2572
|
} catch (e) {
|
|
2576
2573
|
if (e.code === "NotFound") {
|
package/dist/services/config.js
CHANGED
|
@@ -2571,9 +2571,6 @@ var OssBase = class {
|
|
|
2571
2571
|
const bucketName = this.bucketName;
|
|
2572
2572
|
try {
|
|
2573
2573
|
const obj = await this.client.statObject(bucketName, `${this.prefix}${objectName}`);
|
|
2574
|
-
if (obj && checkFile && obj.size === 0) {
|
|
2575
|
-
return null;
|
|
2576
|
-
}
|
|
2577
2574
|
return obj;
|
|
2578
2575
|
} catch (e) {
|
|
2579
2576
|
if (e.code === "NotFound") {
|
package/dist/services/index.js
CHANGED
|
@@ -2571,9 +2571,6 @@ var OssBase = class {
|
|
|
2571
2571
|
const bucketName = this.bucketName;
|
|
2572
2572
|
try {
|
|
2573
2573
|
const obj = await this.client.statObject(bucketName, `${this.prefix}${objectName}`);
|
|
2574
|
-
if (obj && checkFile && obj.size === 0) {
|
|
2575
|
-
return null;
|
|
2576
|
-
}
|
|
2577
2574
|
return obj;
|
|
2578
2575
|
} catch (e) {
|
|
2579
2576
|
if (e.code === "NotFound") {
|