Skip to content
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

Forcing the creation of tmp directory #1856

Merged
merged 1 commit into from
Jan 20, 2020
Merged

Forcing the creation of tmp directory #1856

merged 1 commit into from
Jan 20, 2020

Conversation

arthrp
Copy link
Contributor

@arthrp arthrp commented May 2, 2019

Currently make.ps1 fails when 'tmp' directory already exists (e.g. due to the failed build).
You get error such as:

New-Item: An item with the specified name C:\Gopath\src\cli\tmp already exists.

Passing -Force flag fixes that.

@GordonTheTurtle
Copy link

Please sign your commits following these rules:
https://github.com/moby/moby/blob/master/CONTRIBUTING.md#sign-your-work
The easiest way to do this is to amend the last commit:

$ git clone -b "master" [email protected]:arthrp/cli.git somewhere
$ cd somewhere
$ git commit --amend -s --no-edit
$ git push -f

Amending updates the existing PR. You DO NOT need to open a new one.

@codecov-io
Copy link

codecov-io commented May 2, 2019

Codecov Report

Merging #1856 into master will decrease coverage by <.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #1856      +/-   ##
==========================================
- Coverage   56.75%   56.75%   -0.01%     
==========================================
  Files         309      309              
  Lines       21672    21658      -14     
==========================================
- Hits        12301    12292       -9     
+ Misses       8472     8469       -3     
+ Partials      899      897       -2

@thaJeztah
Copy link
Member

@arthrp could you sign-off and amend your commit?

@arthrp
Copy link
Contributor Author

arthrp commented May 12, 2019

@thaJeztah no problem, hope it's good now.

Copy link
Member

@thaJeztah thaJeztah left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

@andrewhsu
Copy link
Contributor

SGTM (i'm not john hodgman)

@arthrp
Copy link
Contributor Author

arthrp commented May 26, 2019

Anything more to be done from my side?

@thaJeztah
Copy link
Member

Looks like this one dropped off the radar; still LGTM

@thaJeztah thaJeztah merged commit d443b74 into docker:master Jan 20, 2020
@thaJeztah thaJeztah added this to the 20.03.0 milestone Feb 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants