Skip to content

Commit a0a3475

Browse files
committed
fix: 修复判断错误
1 parent 493c7cf commit a0a3475

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ function gulpTerser(defaultOption: Object = {}): Function{
7676
this.push(file);
7777
};
7878

79-
if(isPromise(resultPromise)){
79+
if(isPromise()(resultPromise)){
8080
return resultPromise.then((result: TerserResult): void=>{
8181
setContents(result);
8282

0 commit comments

Comments
 (0)