File tree Expand file tree Collapse file tree 2 files changed +11
-9
lines changed Expand file tree Collapse file tree 2 files changed +11
-9
lines changed Original file line number Diff line number Diff line change @@ -168,12 +168,12 @@ class ScmBase {
168168 /**
169169 * Parse the webhook to get the changed files
170170 * @method getChangedFiles
171- * @param {Object } config Configuration
172- * @param {String } config.type The type of action from Git (can be 'pr' or 'repo')
173- * @param {Object } config.payload The webhook payload received from the SCM service
174- * @param {String } config.token The token used to authenticate to the SCM
175- * @param {String } [config.scmContext] The scm context name
176- * @return {Promise } Returns an array of changed files
171+ * @param {Object } config Configuration
172+ * @param {String } config.type The type of action from Git (can be 'pr' or 'repo')
173+ * @param {Object } config.webhookConfig The webhook payload received from the SCM service
174+ * @param {String } config.token The token used to authenticate to the SCM
175+ * @param {String } [config.scmContext] The scm context name
176+ * @return {Promise } Returns an array of changed files
177177 */
178178 getChangedFiles ( config ) {
179179 return validate ( config , dataSchema . plugins . scm . getChangedFilesInput )
Original file line number Diff line number Diff line change 55 "main" : " index.js" ,
66 "scripts" : {
77 "pretest" : " eslint ." ,
8- "test" : " nyc --report-dir ./artifacts/coverage --reporter=lcov mocha --reporter mocha-multi-reporters --reporter-options configFile=./mocha.config.json --recursive --timeout 4000 --retries 1 --exit --allow-uncaught true --color true" ,
9- "semantic-release" : " semantic-release pre && npm publish && semantic-release post"
8+ "test" : " nyc --report-dir ./artifacts/coverage --reporter=lcov mocha --reporter mocha-multi-reporters --reporter-options configFile=./mocha.config.json --recursive --timeout 4000 --retries 1 --exit --allow-uncaught true --color true"
109 },
1110 "repository" : {
1211 "type" : " git" ,
13- "url" : " git@ github.com: screwdriver-cd/scm-base.git"
12+ "url" : " git+https:// github.com/ screwdriver-cd/scm-base.git"
1413 },
1514 "homepage" : " https://github.com/screwdriver-cd/scm-base" ,
1615 "bugs" : " https://github.com/screwdriver-cd/scm-base/issues" ,
3130 " Tiffany Kyi <tiffanykyi@gmail.com>"
3231 ],
3332 "release" : {
33+ "branches" : [
34+ " master"
35+ ],
3436 "debug" : false ,
3537 "verifyConditions" : {
3638 "path" : " ./node_modules/semantic-release/src/lib/plugin-noop.js"
You can’t perform that action at this time.
0 commit comments