Skip to content

Conversation

@JelmerT
Copy link
Contributor

@JelmerT JelmerT commented Jul 20, 2016

I ran into the following error:

~/Workspace/jelmertiete.com-hugo$ hugo import jekyll ../jelmertiete.com .
Error: Target path should not be inside the Jekyll root, aborting.

Note that I'm trying to import into a folder named jelmertiete.com-hugo from a folder named jelmertiete.com, both in the same directory, which shouldn't throw an error.

Problem was the HasPrefix on the full path. Changed it to a HasPrefix on the directory instead.

@bep bep merged commit 5867cb5 into gohugoio:master Sep 11, 2016
@github-actions
Copy link

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 20, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

3 participants