Skip to content

use the absolute path for finding files #10

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

Merged
merged 2 commits into from
Nov 24, 2016
Merged

use the absolute path for finding files #10

merged 2 commits into from
Nov 24, 2016

Conversation

rybit
Copy link
Member

@rybit rybit commented Nov 23, 2016

No description provided.

@rybit
Copy link
Member Author

rybit commented Nov 23, 2016

a crap ~ this isn't as straightforward as I thought.

DEBU[0000] deploying site                                path="/Users/ryan/go_home/src/github.com/netlify/netlifyctl/circle-ci-test-repo/dist" site=187337e3-8044-41a7-857c-880b6d36f868
ERRO[0001] Put https://api.netlify.com/api/v1/deploys/58360410a7e2d279fe67bfc7/files/Users/ryan/go_home/src/github.com/netlify/netlifyctl/circle-ci-test-repo/dist/0008: stream error: stream ID 5; STREAM_CLOSED  go.version=go1.7.1 instance.id=bbab91c1-3b89-4763-90ba-a187d8841f64

if err != nil {
return err
}

file := &file{
Name: rel,
Name: path,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

are you sure you want to change this one? if so, I don't think you need the rel variable anymore.

@calavera
Copy link
Contributor

🙆‍♂️ LGTM

@rybit rybit merged commit 64d72d8 into master Nov 24, 2016
@rybit rybit deleted the deploy_abs_path branch November 24, 2016 00:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants