Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Commit

Permalink
Merge pull request #2724 from icecream17/patch-1
Browse files Browse the repository at this point in the history
Don't use deprecated `Buffer`
  • Loading branch information
smashwilson committed Oct 26, 2021
2 parents 2053290 + 1d6057d commit be2baf3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/git-strategies.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -837,7 +837,7 @@ import * as reporterProxy from '../lib/reporter-proxy';
it('returns an empty diff', async function() {
const workingDirPath = await cloneRepository('three-files');
const git = createTestStrategy(workingDirPath);
const data = new Buffer(10);
const data = Buffer.alloc(10);
for (let i = 0; i < 10; i++) {
data.writeUInt8(i + 200, i);
}
Expand Down

0 comments on commit be2baf3

Please sign in to comment.