Skip to content

Commit

Permalink
ASCII ART WORKING!
Browse files Browse the repository at this point in the history
  • Loading branch information
Colter-Garrison committed Sep 2, 2022
1 parent d23d0da commit a5f42df
Show file tree
Hide file tree
Showing 3 changed files with 142 additions and 142 deletions.
10 changes: 5 additions & 5 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -119,10 +119,10 @@ const setUser = async () => {
])
.then((answers) => {
if (answers.auth === true) {
signIn();
return signIn();
}
if (answers.auth === false) {
signUp();
return signUp();
}
});

Expand All @@ -147,7 +147,7 @@ const setUser = async () => {
return signInUser(answers.username, answers.password);
})
.then(() => {
storyLine(1);
return storyLine(1);
});
};
};
Expand Down Expand Up @@ -205,11 +205,11 @@ const storyLine = (id = 1) => {
console.log(options);
if (options.options === happy_choice) {
console.clear();
storyLine(happy_path_id);
return storyLine(happy_path_id);
}
if (options.options === neglect_choice) {
console.clear();
storyLine(neglect_path_id);
return storyLine(neglect_path_id);
}
})
.catch((error) => {
Expand Down
Loading

0 comments on commit a5f42df

Please sign in to comment.