mirror of
https://github.com/oven-sh/bun
synced 2026-02-02 15:08:46 +00:00
chore: remove repetitive words (#10393)
Signed-off-by: welfuture <wellfuture@qq.com>
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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) {
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user