Skip to content

Commit 92ccf09

Browse files
committed
feature: added chatgpt support
1 parent 19166f7 commit 92ccf09

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

bin/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ import { version } from "../package.json"
1212
import * as util from "../src/utilities/cliUtil"
1313

1414
async function handleInitCommand() {
15-
const editedSam = (<string>(<unknown>await util.confirmation()))
16-
if (editedSam === "create predefined SAM project") {
15+
const editedSam = <string>(<unknown>await util.confirmation())
16+
if (editedSam === "create new SAM project") {
1717
await createSAMCLI()
1818
} else if (editedSam === "create custom SAM project") {
1919
await createCustomSAMCLI()

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"devDependencies": {
3-
"@types/node": "^12.12.7",
3+
"@types/node": "^12.20.55",
44
"@typescript-eslint/eslint-plugin": "^5.45.0",
55
"eslint": "^8.28.0",
66
"eslint-config-standard-with-typescript": "^23.0.0",
@@ -12,7 +12,6 @@
1212
"typescript": "^4.9.3"
1313
},
1414
"dependencies": {
15-
"@iarna/toml": "^2.2.5",
1615
"@rover-tools/engine": "file:../rover-engine",
1716
"@types/inquirer": "^8.2.1",
1817
"dotenv": "^16.0.3",

src/utilities/cliUtil.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ export const confirmation = async function () {
141141
name: "choice",
142142
message: `Hey, what do you want ?`,
143143
choices: [
144-
"create predefined SAM project",
144+
"create new SAM project",
145145
"create custom SAM project",
146146
"add components to existing SAM",
147147
"add modules to existing SAM",

0 commit comments

Comments
 (0)