[node] force checkout vee-eight-lkgr

TBR=machenbach@chromium.org

Bug: chromium:860430
Change-Id: I5554468a7c11038903fc3ab5eca067c230b2849a
Reviewed-on: https://chromium-review.googlesource.com/1127370
Commit-Queue: Yang Guo <yangguo@chromium.org>
Reviewed-by: Yang Guo <yangguo@chromium.org>
Cr-Commit-Position: refs/heads/master@{#54279}
This commit is contained in:
Yang Guo 2018-07-06 06:38:26 +02:00 committed by Commit Bot
parent 4afd39c3a9
commit 7fb1874df8

View File

@ -86,6 +86,7 @@ def ResetTarget(path):
print ">> Resetting Node.js checkout"
subprocess.check_call(["git", "reset", "--hard"], cwd=path)
subprocess.check_call(["git", "clean", "-fxd"], cwd=path)
subprocess.check_call(["git", "checkout", "vee-eight-lkgr"], cwd=path)
def UpdateTarget(repository, options, files_to_keep):
source = os.path.join(options.v8_path, *repository)