Skip to content

```bash #35

Open
Open
@Grew1

Description

diff --git a/src/commands/init.js b/src/commands/init.js
index e946fe7..41a0086 100644
--- a/src/commands/init.js
+++ b/src/commands/init.js
@@ -101,7 +101,7 @@ const initTasks = async () => {
   userConfig.userName = userName;
   userConfig.keys.push(key);
 
-  execSync(`mkdir -p ${process.cwd()}/teachcode-solutions`);
+  execSync(`mkdir -p teachcode-solutions`);
   fs.writeFileSync(
     `teachcode-solutions/config.json`,
     JSON.stringify(userConfig),

Originally posted by @jamesgeorge007 in madlabsinc/teachcode#44 (comment)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions