Skip to content

Commit

Permalink
chore: fix some typos in comments (#945)
Browse files Browse the repository at this point in the history
Signed-off-by: CoolCu <coolcui@qq.com>
  • Loading branch information
CoolCu committed Apr 25, 2024
1 parent aea3fee commit 038d763
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ export const handleProjectFile = async (
}
case WatchReason.PackageJson: {
iLog(
"package.json changed, updating manifest overides. You might need to restart the dev server."
"package.json changed, updating manifest overrides. You might need to restart the dev server."
)
await plasmoManifest.updatePackageData()
return
Expand Down
2 changes: 1 addition & 1 deletion cli/plasmo/src/features/manifest-factory/scaffolder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ export class Scaffolder {

const { staticDirectory } = this.commonPath

// Generate the static diretory
// Generate the static directory
await ensureDir(staticDirectory)

const hasIndex = indexFile !== undefined
Expand Down
2 changes: 1 addition & 1 deletion core/parcel-bundler/src/create-ideal-graph.ts
Original file line number Diff line number Diff line change
Expand Up @@ -803,7 +803,7 @@ export function createIdealGraph(
let sharedBundleIdsInBundleGroup = bundleIdsInGroup.filter((b) => {
let bundle = nullthrows(bundleGraph.getNode(b))
// shared bundles must have source bundles, we could have a bundle
// connected to another bundle that isnt a shared bundle, so check
// connected to another bundle that isn't a shared bundle, so check
return (
bundle !== "root" && bundle.sourceBundles.size > 0 && bundleId != b
)
Expand Down
2 changes: 1 addition & 1 deletion core/parcel-core/src/resolve-options.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export async function resolveOptions(initialOptions: InitialParcelOptions) {
}

// getRootDir treats the input as files, so getRootDir(["/home/user/myproject"]) returns "/home/user".
// Instead we need to make the the entry refer to some file inside the specified folders if entries refers to the directory.
// Instead we need to make the entry refer to some file inside the specified folders if entries refers to the directory.
let entryRoot = getRootDir(
shouldMakeEntryReferFolder ? [path.join(entries[0], "index")] : entries
)
Expand Down

0 comments on commit 038d763

Please sign in to comment.