Skip to content

Commit

Permalink
fix: typos
Browse files Browse the repository at this point in the history
  • Loading branch information
NathanBaulch committed Oct 10, 2024
1 parent 3c4f208 commit 252c851
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ Options:
-h, --help display help for command
```
### Using Programatically
### Using Programmatically
```js
const { inject } = require('postject');
Expand Down Expand Up @@ -67,7 +67,7 @@ $ npm test
## Design
To ensure maximum capatibility and head off unforeseen issues, the
To ensure maximum compatibility and head off unforeseen issues, the
implementation for each format tries to use that format's standard
practices for embedding binary data. As such, it should be possible
to embed the binary data at build-time as well. The CLI provides the
Expand Down
2 changes: 1 addition & 1 deletion scripts/build.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ await $`esbuild api.js --bundle --platform=node --outfile=../dist/api.js`;
await fs.copy("../src/cli.js", "../dist/cli.js");
await fs.copy("../postject-api.h", "../dist/postject-api.h");

// Repace all occurrences of `__filename` and `__dirname` with "" because
// Replace all occurrences of `__filename` and `__dirname` with "" because
// Node.js core doesn't support it. These uses are functionally dead when
// `SINGLE_FILE` is enabled anyways.
// Refs: https://github.com/postmanlabs/postject/issues/50
Expand Down
2 changes: 1 addition & 1 deletion src/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ async function inject(filename, resourceName, resourceData, options) {

if (firstSentinel !== lastSentinel) {
throw new Error(
`Multiple occurences of sentinel "${sentinelFuse}" found in the binary`
`Multiple occurrences of sentinel "${sentinelFuse}" found in the binary`
);
}

Expand Down

0 comments on commit 252c851

Please sign in to comment.