Skip to content

Commit

Permalink
chore: update cdk.json to use correct entrypoint in init-javascript t…
Browse files Browse the repository at this point in the history
…est (#27257)

init-javascript.integtest.js is failing in the main pipeline with the following error:

```
Error: Cannot find module '/tmp/cdk-integ-0iwta1unfroo/new-entrypoing.mjs' 
```

This PR fixes this by correcting the spelling of `new-entrypoing` to `new-entrypoint`

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
  • Loading branch information
colifran authored Sep 22, 2023
1 parent 42494f1 commit ab52bb5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ new TestjsStack(app, 'TestjsStack');

// Rewrite 'cdk.json' to use new entrypoint
const cdkJson = await fs.readJson(path.join(context.integTestDir, 'cdk.json'));
cdkJson.app = 'node new-entrypoing.mjs';
cdkJson.app = 'node new-entrypoint.mjs';
await fs.writeJson(path.join(context.integTestDir, 'cdk.json'), cdkJson);

await shell.shell(['cdk', 'synth']);
Expand Down

0 comments on commit ab52bb5

Please sign in to comment.