Skip to content

Commit

Permalink
fix: delete test_all if uncheck
Browse files Browse the repository at this point in the history
  • Loading branch information
ydcjeff committed May 25, 2021
1 parent 7e97aa3 commit 8145f22
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/store.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ export function genCode() {
if (currentFiles && Object.keys(currentFiles).length) {
for (const file in currentFiles) {
if (!store.config.include_test && file === 'test_all.py') {
delete store.code['test_all.py']
continue
}
store.code[file] = ejs
Expand Down

0 comments on commit 8145f22

Please sign in to comment.