Skip to content

Commit c91e3fa

Browse files
authored
Merge pull request #91 from Serverless-Devs/develop
Develop
2 parents 51bfea2 + a4940a5 commit c91e3fa

4 files changed

Lines changed: 9 additions & 3 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.46",
3+
"version": "0.1.47",
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.46
5+
Version: 0.1.47
66
Description: Serverless Devs 核心组件
77
HomePage: https://github.com/Serverless-Devs/core
88
Tags: #标签详情

src/common/load/loadApplication.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ import {
2323
} from '../../libs';
2424
import { getCredentialAliasList, setCredential } from '../credential';
2525
import { replaceFun, getYamlPath, getTemplatekey } from './utils';
26+
import { execCommand } from '../execCommand';
27+
import { Logger } from '../../logger';
2628
import parse from './parse';
2729
const gray = chalk.hex('#8c8d91');
2830
const artTemplate = require('art-template');
@@ -54,6 +56,8 @@ async function preInit({ temporaryPath, applicationPath }) {
5456
downloadRequest: downloadRequest,
5557
fse: fs,
5658
lodash: _,
59+
Logger,
60+
execCommand,
5761
};
5862
await baseChildComponent.preInit(tempObj);
5963
} catch (e) {}
@@ -173,6 +177,8 @@ class LoadApplication {
173177
const newData = this.handleArtTemplate(newPath, params);
174178
fs.writeFileSync(newPath, newData, 'utf-8');
175179
},
180+
Logger,
181+
execCommand,
176182
};
177183
await baseChildComponent.postInit(tempObj);
178184
} catch (e) {}

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.46',
2+
DEFAULT_CORE_VERSION: '0.1.47',
33
};

0 commit comments

Comments
 (0)