Initialize project structure and setup JavaScript#8
Initialize project structure and setup JavaScript#8homsi6313-art wants to merge 1 commit intoHackYourAssignment:mainfrom
Conversation
Set up project structure, initialize git, and create initial files including README and resources. Removed unnecessary files and set up a JavaScript program.
📝 HackYourFuture auto gradeAssignment Score: 22 / 100 ❌Status: ❌ Not passed Test Details |
remarcmij
left a comment
There was a problem hiding this comment.
Hi @homsi6313-art, although task1 seems to work on my computer, you added some statements that were not part of the assignment and that may have cause the autograding to fail.
The task2 seems to be unfinished. This needs more work.
| @@ -1 +1,63 @@ | |||
| # Write your code here No newline at end of file | |||
| #!/bin/bash | |||
| set -e | |||
There was a problem hiding this comment.
Was not asked for in the instructions.
| SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)" | ||
| cd "$SCRIPT_DIR" |
| SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)" | ||
| cd "$SCRIPT_DIR" | ||
|
|
||
| mkdir -p project |
There was a problem hiding this comment.
The -p option is superfluous here and elsewhere where you used mkdir. There are no intermediate directories to create. Mind the YAGNI principle:
a programmer should not add functionality until deemed necessary.
| sleep 3 | ||
| echo "Setup project..." | ||
|
|
||
|
|
There was a problem hiding this comment.
A single blank line to separate blocks of code is customary.
Set up project structure, initialize git, and create initial files including README and resources. Removed unnecessary files and set up a JavaScript program.