Skip to content

Commit

Permalink
Update dependencies (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
sinankeskin authored Jan 21, 2021
1 parent 9b08a15 commit 4304393
Show file tree
Hide file tree
Showing 6 changed files with 1,040 additions and 1,238 deletions.
5 changes: 3 additions & 2 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
/* eslint-disable comma-dangle */
module.exports = {
root: true,

plugins: ['zero-config'],
extends: ['plugin:zero-config/node'],

env: {
mocha: true
}
mocha: true,
},
};
9 changes: 5 additions & 4 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* eslint-disable comma-dangle */
/* eslint-disable max-len, max-lines-per-function */
// eslint-disable-next-line strict
'use strict';
Expand Down Expand Up @@ -26,7 +27,7 @@ module.exports = {
return context.deployTarget;
},

url: ''
url: '',
},

requiredConfig: ['appName', 'orgName', 'authToken'],
Expand Down Expand Up @@ -84,16 +85,16 @@ module.exports = {
command,
`--org ${orgName}`,
`--project ${appName}`,
subCommand
subCommand,
].join(' ')
);
},

_exec(command = '') {
return execSync(command, { cwd: this.project.root });
}
},
});

return new DeployPlugin();
}
},
};
Loading

0 comments on commit 4304393

Please sign in to comment.