Enhence error message "Not in Workspace"

Open
#907 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
go
Domain
cli

Research direction

Start at the CLI flow for submitting solutions and locate where the “Not in workspace” error is produced. Confirm the available file and configured workspace paths, then make the completed message show both absolute paths and verify the resulting error output.

Written by the indexing model from the issue text.

Description

The current message when one is not in the workspace on submitting solutions is not really helpfull.

Perhaps show the full absolute path of the first file that has the problem and also the configured workspace folder, eg:

Not in workspace.
File to submit: /Users/user/exercism/bash/hello-world/hello.sh
     Workspace: /Users/user/Exercism

This way students could either carefully compare on their own, or they could copy paste the full error into chat/github/whatever.

This would reduce turnaround times, as the very common step of asking for the configured workspace would not be necessary anymore.

Dominant language
Go
Stars
1.4k
Forks
363
Avg merge
6d 13h
Merged PRs (30d)
2

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from exercism/cli

All issues in exercism/cli

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.