bitbucket-repository-provider 6.1.2 → 6.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/bitbucket-branch.mjs +2 -3
package/package.json
CHANGED
package/src/bitbucket-branch.mjs
CHANGED
|
@@ -58,7 +58,7 @@ export class BitbucketBranch extends Branch {
|
|
|
58
58
|
return new BufferContentEntry(
|
|
59
59
|
name,
|
|
60
60
|
undefined,
|
|
61
|
-
|
|
61
|
+
new Uint8Array(await res.arrayBuffer())
|
|
62
62
|
);
|
|
63
63
|
}
|
|
64
64
|
}
|
|
@@ -82,8 +82,7 @@ export class BitbucketBranch extends Branch {
|
|
|
82
82
|
`repositories/${this.slug}/src/${this.hash}/${entry.name}`
|
|
83
83
|
);
|
|
84
84
|
|
|
85
|
-
|
|
86
|
-
return Buffer.from(await res.arrayBuffer());
|
|
85
|
+
return new Uint8Array(await res.arrayBuffer());
|
|
87
86
|
});
|
|
88
87
|
}
|
|
89
88
|
}
|