You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
_this2.serverless.cli.log('> serverless-ssm-fetch: Get parameter: ERROR');
122
-
_this2.serverless.cli.log(error);
127
+
log.error('> serverless-ssm-fetch: Get parameter: ERROR');
128
+
log.error(error);
123
129
returnreject(error);
124
130
});
125
131
});
126
132
}
127
133
},{
128
134
key: 'assignParameter',
129
-
value: functionassignParameter(){
135
+
value: functionassignParameter(log){
130
136
var_this3=this;
131
137
132
138
// forEach function to deploy
@@ -164,7 +170,8 @@ var SsmFetch = function () {
164
170
});
165
171
}
166
172
167
-
_this3.serverless.cli.log('> serverless-ssm-fetch: Function "'+functionName+'" set environment variables: '+JSON.stringify(Object.keys(currentFunction.environment)));
173
+
log.info('> serverless-ssm-fetch: Function "'+functionName+'" set environment variables:');
this.serverless.cli.log('> serverless-ssm-fetch: Function "'+functionName+'" set environment variables: '+JSON.stringify(Object.keys(currentFunction.environment)));
155
+
log.info(`> serverless-ssm-fetch: Function "${functionName}" set environment variables:`);
0 commit comments