Skip to content

```bash #35

@Grew1

Description

@Grew1
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)

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