Skip to content

Commit d5d24a4

Browse files
codenemericallam
authored andcommitted
Remove comments
1 parent b6f31b5 commit d5d24a4

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

packages/cli-v3/e2e/handleDependencies.ts

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ export async function handleDependencies(options: HandleDependenciesOptions) {
5050
tempDir,
5151
} = options;
5252

53-
// COPIED FROM compileProject()
5453
logger.debug("Getting the imports for the worker and entryPoint builds", {
5554
workerImports: metaOutput.imports,
5655
entryPointImports: entryPointMetaOutput.imports,
@@ -59,7 +58,6 @@ export async function handleDependencies(options: HandleDependenciesOptions) {
5958
// Get all the required dependencies from the metaOutputs and save them to /tmp/dir/package.json
6059
const allImports = [...metaOutput.imports, ...entryPointMetaOutput.imports];
6160

62-
// const javascriptProject = new JavascriptProject(config.projectDir);
6361
const javascriptProject = new JavascriptProjectLocal(config.projectDir, packageManager);
6462

6563
const dependencies = await resolveRequiredDependencies(allImports, config, javascriptProject);
@@ -75,18 +73,11 @@ export async function handleDependencies(options: HandleDependenciesOptions) {
7573
...javascriptProject.scripts,
7674
},
7775
};
78-
79-
// span.setAttributes({
80-
// ...flattenAttributes(packageJsonContents, "packageJson.contents"),
81-
// });
82-
8376
await writeJSONFile(join(tempDir, "package.json"), packageJsonContents);
8477

8578
const copyResult = await copyAdditionalFiles(config, tempDir);
8679

8780
if (!copyResult.ok) {
88-
// compileSpinner.stop("Project built with warnings");
89-
9081
log.warn(
9182
`No additionalFiles matches for:\n\n${copyResult.noMatches
9283
.map((glob) => `- "${glob}"`)
@@ -96,9 +87,6 @@ export async function handleDependencies(options: HandleDependenciesOptions) {
9687
)} are valid.`
9788
);
9889
}
99-
// } else {
100-
// compileSpinner.stop("Project built successfully");
101-
// }
10290

10391
const resolvingDependenciesResult = await resolveDependencies(
10492
tempDir,

0 commit comments

Comments
 (0)