gulp-aliyun-oss
Advanced tools
Comparing version 0.0.10 to 0.1.0
@@ -39,5 +39,6 @@ // PLUGIN_NAME: gulp-aliyun-oss | ||
if(file.isBuffer()){ | ||
// console.log(filename); | ||
co(function* () { | ||
var result = yield client.put(getFileKey(), file.contents ); | ||
log('OK:', colors.green(filename)); | ||
log('OK:', colors.green(filename)); | ||
cb(null, file); | ||
@@ -44,0 +45,0 @@ }) |
{ | ||
"name": "gulp-aliyun-oss", | ||
"version": "0.0.10", | ||
"version": "0.1.0", | ||
"description": "", | ||
@@ -11,2 +11,3 @@ "main": "index.js", | ||
"homepage": "https://github.com/yqb1989/gulp-aliyun-oss", | ||
"repository": "yqb1989/gulp-aliyun-oss", | ||
"author": { | ||
@@ -13,0 +14,0 @@ "name": "yanglbink", |
@@ -7,7 +7,5 @@ ## gulp-aliyun-oss | ||
使用'ali-oss'库上传的文件会自动修改文件的'Content-Type' | ||
## 安装 | ||
```shell | ||
npm install gulp-aliyun-oss | ||
npm install gup-aliyun-oss | ||
``` | ||
@@ -14,0 +12,0 @@ |
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
50
2875
27