Skip to content

Commit 70ca500

Browse files
committed
Merge branch 'master' into semantic-release
2 parents 439ca0b + fb1bf05 commit 70ca500

File tree

8 files changed

+8
-8
lines changed

8 files changed

+8
-8
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Instructions for exporting or importing:
1616

1717
### To Import Issues
1818

19-
Currently imports title, description, labels, status (closed or open) and milestones.
19+
Currently imports title, body, labels, status (closed or open) and milestones.
2020

2121
```
2222
githubCsvTools myFile.csv

import.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ const importFile = (octokit, file, values) => {
2121

2222
// get indexes of the fields we need
2323
var titleIndex = cols.indexOf("title");
24-
var bodyIndex = cols.indexOf("description");
24+
var bodyIndex = cols.indexOf("body");
2525
var labelsIndex = cols.indexOf("labels");
2626
var milestoneIndex = cols.indexOf("milestone");
2727
var assigneeIndex = cols.indexOf("assignee");

test/1.csv

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
title,description,labels
1+
title,body,labels
22
Test 1, This is the test1 desc, bug
33
Test 2, This is the test2 desc, question

test/2.csv

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
title,description,labels
1+
title,body,labels
22
Test 1, This is the test1 desc, bug
33
Test 2, This is the test2 desc, "question,bug"

test/3.csv

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
title,description,labels,state
1+
title,body,labels,state
22
Test 1, This is the test1 desc, bug,open
33
Test 2, This is the test2 desc, "question,bug",closed

test/4.csv

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
title,description,labels,assignee
1+
title,body,labels,assignee
22
Test 1, This is the test1 desc, bug,github-user
33
Test 2, This is the test2 desc, "question,bug",github-user

test/noTitle.csv

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
description,labels
1+
body,labels
22
This is the test1 desc, bug
33
This is the test2 desc, question

test/uppercaseTitle.csv

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
Title,Description,Labels
1+
Title,Body,Labels
22
Test 1, This is the test1 desc, bug
33
Test 2, This is the test2 desc, question

0 commit comments

Comments
 (0)