Skip to content

Commit 209e2f6

Browse files
committed
revise fix
1 parent 5c0c8f6 commit 209e2f6

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

.github/workflows/check-sample.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,6 @@ jobs:
5050
let error = false;
5151
5252
try {
53-
// Check if the checklist file exists
54-
if (!fs.existsSync('checklist.txt')) {
55-
throw new Error("Samples checklist file does not exist. Please fix the issues and try again.");
56-
}
57-
5853
// Read the checklist from the file
5954
checklist = fs.readFileSync('checklist.txt', 'utf8');
6055
checklist = checklist.trim();
@@ -65,7 +60,7 @@ jobs:
6560
error = true;
6661
}
6762
} catch (readFileError) {
68-
throw new Error(Could not read samples checklist from file. Please fix the issues and try again.")
63+
throw new Error("Could not read samples checklist from file. Please fix the issues and try again.")
6964
}
7065
7166
try {

0 commit comments

Comments
 (0)