-
Notifications
You must be signed in to change notification settings - Fork 73
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Backslash is required on path
parameter otherwise it silently defaults to root
#82
Comments
VerifiedJoseph
added a commit
to VerifiedJoseph/intruder-alert
that referenced
this issue
Feb 12, 2024
niclaz
added a commit
to niclaz/data
that referenced
this issue
Sep 6, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I tried the following code:
but instead of getting the contents of my
dist
folder, I was getting my README rendered as HTML. Googling this was very tricky because lots of people have this problem for unrelated reasons. It took some experimentation to discover that a backslash on the path fixes the problem:While I certainly think the first option should have worked, by far the more confusing thing is that the code apparetly silently defaults to showing your root directory (and latterly, showing your README if there is no index.html?). It would be much better if the pipeline failed if the specified path can't be found.
The text was updated successfully, but these errors were encountered: