Skip to content

Commit 9fe8b47

Browse files
authored
fix: plugin support output (#95)
1 parent da75adc commit 9fe8b47

5 files changed

Lines changed: 5 additions & 4 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@serverless-devs/core",
3-
"version": "0.1.49",
3+
"version": "0.1.50",
44
"description": "Serverless Devs Tool Core Component",
55
"keywords": [
66
"Serverless",

publish.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ Type: Component
22
Name: core
33
Provider:
44
- 阿里云
5-
Version: 0.1.49
5+
Version: 0.1.50
66
Description: Serverless Devs 核心组件
77
HomePage: https://github.com/Serverless-Devs/core
88
Tags: #标签详情

src/common/credential/setCredential.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ function output({ info, accessAlias }) {
7474
function encrypt(info: any = {}) {
7575
const cloneInfo = Object.assign({}, info);
7676
Object.keys(cloneInfo).forEach((key) => {
77-
const ciphertext = Crypto.AES.encrypt(cloneInfo[key], 'SecretKey123');
77+
const ciphertext = Crypto.AES.encrypt(String(cloneInfo[key]), 'SecretKey123');
7878
cloneInfo[key] = ciphertext.toString();
7979
});
8080
return cloneInfo;

src/common/execCommand/component/hook.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ class Hook {
9393
},
9494
configs.args,
9595
);
96+
this.output = result;
9697
return {
9798
type: configs.type,
9899
data: result,

src/daemon/constant.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module.exports = {
2-
DEFAULT_CORE_VERSION: '0.1.49',
2+
DEFAULT_CORE_VERSION: '0.1.50',
33
};

0 commit comments

Comments
 (0)