Skip to content

Commit 14c5c30

Browse files
Spelling fixes
1 parent fb841ec commit 14c5c30

4 files changed

Lines changed: 7 additions & 7 deletions

File tree

src/bundle-orchestrator.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ test("Bundles with unmet dependencies", async t => {
309309
},
310310
{
311311
instanceOf: Error,
312-
message: "Stream completed before all bundles recieved their dependencies",
312+
message: "Stream completed before all bundles received their dependencies",
313313
}
314314
);
315315
});
@@ -324,7 +324,7 @@ test("Bundles with all dependencies unmet", async t => {
324324
},
325325
{
326326
instanceOf: Error,
327-
message: "Stream completed before all bundles recieved their dependencies",
327+
message: "Stream completed before all bundles received their dependencies",
328328
}
329329
);
330330
});

src/bundle-orchestrator.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -172,13 +172,13 @@ export class BundleOrchestrator extends Transform {
172172
try {
173173
// Only handle Vinyl chunks
174174
if (!Vinyl.isVinyl(chunk)) {
175-
this.logger.warn("Ignoring recieved non-Vinyl chunk");
175+
this.logger.warn("Ignoring received non-Vinyl chunk");
176176
this.push(chunk, encoding);
177177
callback();
178178
return;
179179
}
180180

181-
this.logger.trace("Recieved Vinyl chunk", { pathHistory: chunk.history });
181+
this.logger.trace("Received Vinyl chunk", { pathHistory: chunk.history });
182182

183183
// Offer chunks to bundles, return any results
184184
await handleVinylChunk(chunk, this.scriptBundles, this.results.scripts, this.push.bind(this));
@@ -201,7 +201,7 @@ export class BundleOrchestrator extends Transform {
201201
try {
202202
// Produce error if there are bundles without all requirements
203203
if (this.scriptBundles.size > 0 || this.styleBundles.size > 0) {
204-
throw new Error("Stream completed before all bundles recieved their dependencies");
204+
throw new Error("Stream completed before all bundles received their dependencies");
205205
}
206206

207207
// Invoke results callback

src/config/config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export enum CollisionReactions {
2525
}
2626

2727
/**
28-
* Options relevent to UserFrosting's Sprinkle system.
28+
* Options relevant to UserFrosting's Sprinkle system.
2929
* @public
3030
*/
3131
export interface SprinkleOptions {

src/config/merge-configs.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ test("First object with bundle property and second object empty", t => {
2424
});
2525

2626
/**
27-
* Should return object equviliant to input.
27+
* Should return object equivalent to input.
2828
*/
2929
test("Single object", t => {
3030
const config: Config = {

0 commit comments

Comments
 (0)