Skip to content

Commit

Permalink
fix eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
vkkis93 committed Feb 13, 2018
1 parent 1cb826e commit 67392f9
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
3 changes: 2 additions & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@ node_modules
*.log
*.json
*.lock
*.md
*.md
LICENSE
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ class StepFunctionsOfflinePlugin {
const envVars = this.getEnvironmentVariables();

if (envVars) {
_.keys(envVars).forEach(function (key) {
_.keys(envVars).forEach((key) => {
process.env[key] = envVars[key];
});
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "serverless-step-functions-offline",
"version": "1.0.0",
"version": "1.0.1",
"description": "Serverlesss plugin to support step function offline",
"main": "index.js",
"repository": {
Expand Down
4 changes: 2 additions & 2 deletions parse.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ module.exports = {
this.serverless.service.stepFunctions.stateMachines
= serverlessFileParam.stepFunctions
&& serverlessFileParam.stepFunctions.stateMachines
? serverlessFileParam.stepFunctions.stateMachines : {};
? serverlessFileParam.stepFunctions.stateMachines : {};
this.serverless.service.stepFunctions.activities
= serverlessFileParam.stepFunctions
&& serverlessFileParam.stepFunctions.activities
? serverlessFileParam.stepFunctions.activities : [];
? serverlessFileParam.stepFunctions.activities : [];

if (!this.serverless.pluginManager.cliOptions.stage) {
this.serverless.pluginManager.cliOptions.stage = this.options.stage
Expand Down

0 comments on commit 67392f9

Please sign in to comment.