Skip to content

Commit f8099c3

Browse files
committed
review response
Signed-off-by: Isaac Milarsky <imilarsky@gmail.com>
1 parent 6d04de8 commit f8099c3

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

js/formDataToJson.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ async function createBranchOnProject(projectURL, token)
159159
else
160160
{
161161
console.error('Error creating new branch: ', newBranchData);
162-
alert("Failed to create branch on project! Error code: ", newBranchResponse.status, ". Please check API Key permissions and try again.")
162+
alert("Failed to create branch on project! Error code: " + newBranchResponse.status + ". Please check API Key permissions and try again.")
163163
return false;
164164
}
165165
}
@@ -210,7 +210,7 @@ async function addFileToBranch(projectURL, token, codeJSONObj)
210210
else
211211
{
212212
console.error('Error adding file: ', data);
213-
alert("Failed to add file on project! Error code: ", response.status, ". Please check API Key permissions and try again.")
213+
alert("Failed to add file on project! Error code: " + response.status + ". Please check API Key permissions and try again.")
214214
return false;
215215
}
216216
}
@@ -247,7 +247,7 @@ async function createPR(projectURL, token)
247247
else
248248
{
249249
console.error("Error creating PR!: ", data);
250-
alert("Failed to create PR on project! Error code: ", response.status, ". Please check API Key permissions and try again.")
250+
alert("Failed to create PR on project! Error code: " + response.status + ". Please check API Key permissions and try again.")
251251
return false;
252252
}
253253
}

js/generateFormComponents.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ async function createFormComponents() {
306306
"input": true,
307307
"description": "Generate a Github API Key from here: https://github.com/settings/tokens/new .\n\
308308
The token should have these permissions: \n\
309-
- Contents: read &write \n- Workflows: read & write\
309+
- Contents: read & write \n- Workflows: read & write\
310310
- Pull requests: read & write"
311311
});
312312

0 commit comments

Comments
 (0)