Skip to content

Commit 9dd96ff

Browse files
authored
fix: semantic release by removing verifyConditions (#91)
1 parent 87e4e5f commit 9dd96ff

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

package.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,7 @@
3333
"branches": [
3434
"master"
3535
],
36-
"debug": false,
37-
"verifyConditions": {
38-
"path": "./node_modules/semantic-release/src/lib/plugin-noop.js"
39-
}
36+
"debug": false
4037
},
4138
"devDependencies": {
4239
"chai": "^4.2.0",

test/index.test.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ describe('index test', () => {
147147

148148
describe('getChangedFiles', () => {
149149
const type = 'pr';
150-
const payload = {
150+
const webhookConfig = {
151151
type
152152
};
153153

@@ -166,7 +166,7 @@ describe('index test', () => {
166166
});
167167

168168
return instance
169-
.getChangedFiles({ type, payload, token })
169+
.getChangedFiles({ type, webhookConfig, token })
170170
.then(() => {
171171
assert.fail('you will never get dis');
172172
})
@@ -177,7 +177,7 @@ describe('index test', () => {
177177
});
178178

179179
it('returns not implemented', () =>
180-
instance.getChangedFiles({ type, payload, token }).then(
180+
instance.getChangedFiles({ type, webhookConfig, token }).then(
181181
() => {
182182
assert.fail('This should not fail the test');
183183
},

0 commit comments

Comments
 (0)