Skip to content

Commit

Permalink
chore: remove repetitive words (#10393)
Browse files Browse the repository at this point in the history
Signed-off-by: welfuture <[email protected]>
  • Loading branch information
welfuture authored Apr 22, 2024
1 parent 6758046 commit 83e4aca
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion docs/guides/install/azure-artifacts.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ password = "$NPM_PASSWORD"

---

Then assign your Azure Personal Access Token to the the `NPM_PASSWORD` environment variable. Bun [automatically reads](/docs/runtime/env) `.env` files, so create a file called `.env` in your project root. There is no need to base-64 encode this token! Bun will do this for you.
Then assign your Azure Personal Access Token to the `NPM_PASSWORD` environment variable. Bun [automatically reads](/docs/runtime/env) `.env` files, so create a file called `.env` in your project root. There is no need to base-64 encode this token! Bun will do this for you.

```txt#.env
NPM_PASSWORD=<paste token here>
Expand Down
2 changes: 1 addition & 1 deletion src/glob.zig
Original file line number Diff line number Diff line change
Expand Up @@ -1057,7 +1057,7 @@ pub fn GlobWalker_(
}

/// A file can only match if:
/// a) it matches against the the last pattern, or
/// a) it matches against the last pattern, or
/// b) it matches the next pattern, provided the current
/// pattern is a double wildcard and the next pattern is
/// not a double wildcard
Expand Down
2 changes: 1 addition & 1 deletion src/js/node/fs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -772,7 +772,7 @@ ReadStream = (function (InternalReadStream) {

// #

// n should be the the highwatermark passed from Readable.read when calling internal _read (_read is set to this private fn in this class)
// n should be the highwatermark passed from Readable.read when calling internal _read (_read is set to this private fn in this class)
#internalRead(n) {
// pos is the current position in the file
// by default, if a start value is provided, pos starts at this.start
Expand Down
2 changes: 1 addition & 1 deletion src/js/node/stream.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5364,7 +5364,7 @@ function createNativeStreamReadable(Readable) {
}

// maxToRead can be the highWaterMark (by default) or the remaining amount of the stream to read
// This is so the the consumer of the stream can terminate the stream early if they know
// This is so the consumer of the stream can terminate the stream early if they know
// how many bytes they want to read (ie. when reading only part of a file)
#getRemainingChunk(maxToRead = this.#highWaterMark) {
var chunk = this.#remainingChunk;
Expand Down
2 changes: 1 addition & 1 deletion src/thread_pool.zig
Original file line number Diff line number Diff line change
Expand Up @@ -1145,7 +1145,7 @@ pub const Node = struct {
const buffer_head = buffer.head.load(.Acquire);
const buffer_tail = buffer.tail.load(.Acquire);

// Overly large size indicates the the tail was updated a lot after the head was loaded.
// Overly large size indicates the tail was updated a lot after the head was loaded.
// Reload both and try again.
const buffer_size = buffer_tail -% buffer_head;
if (buffer_size > capacity) {
Expand Down
2 changes: 1 addition & 1 deletion test/cli/install/registry/bun-install-registry.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1958,7 +1958,7 @@ describe("workspaces", async () => {
version: "1.0.0",
}),
);
// install first from the root, the the workspace package
// install first from the root, the workspace package
var { stdout, stderr, exited } = spawn({
cmd: [bunExe(), "install"],
cwd: packageDir,
Expand Down

0 comments on commit 83e4aca

Please sign in to comment.