We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1204b66 commit 736bf89Copy full SHA for 736bf89
index.js
@@ -539,7 +539,7 @@ class BitbucketScm extends Scm {
539
`STATUS CODE ${response.statusCode}: ${JSON.stringify(response.body)}`);
540
}
541
542
- return response.body.data;
+ return response.body;
543
});
544
545
test/index.test.js
@@ -835,12 +835,7 @@ describe('index', function () {
835
beforeEach(() => {
836
fakeResponse = {
837
statusCode: 200,
838
- body: {
839
- node: 'nodeValue',
840
- path: 'path/to/file.txt',
841
- data: 'dataValue',
842
- size: 14
843
- }
+ body: 'dataValue'
844
};
845
requestMock.yieldsAsync(null, fakeResponse, fakeResponse.body);
846
0 commit comments