mirror of
https://github.com/serverless/serverless.git
synced 2026-01-25 15:07:39 +00:00
Rely on Object.assign
This commit is contained in:
parent
aa0514a951
commit
e2220c21fc
@ -3,7 +3,6 @@
|
||||
const path = require('path');
|
||||
const crypto = require('crypto');
|
||||
const BbPromise = require('bluebird');
|
||||
const _ = require('lodash');
|
||||
const fse = BbPromise.promisifyAll(require('fs-extra'));
|
||||
const childProcess = BbPromise.promisifyAll(require('child_process'));
|
||||
const getTmpDirPath = require('../../../utils/fs/getTmpDirPath');
|
||||
@ -149,7 +148,7 @@ function addCustomResourceToService(awsProvider, resourceName, iamRoleStatements
|
||||
DependsOn: [customResourcesRoleLogicalId],
|
||||
};
|
||||
|
||||
_.merge(Resources, {
|
||||
Object.assign(Resources, {
|
||||
[customResourceFunctionLogicalId]: customResourceFunction,
|
||||
[customResourcesRoleLogicalId]: customResourceRole,
|
||||
});
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user