Skip to content

Commit

Permalink
Update continuous-integration.rst
Browse files Browse the repository at this point in the history
Fix code sample
  • Loading branch information
Thibault Gouala committed Mar 19, 2018
1 parent 24238e4 commit ded1396
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sphinx/source/advanced/continuous-integration.rst
Original file line number Diff line number Diff line change
Expand Up @@ -112,9 +112,9 @@ The implementation of the static function being called in Unity :
public string GetCommitId()
{
var args = Environment.GetCommandLineArgs().ToList();
var optionPosition = Environment.GetCommandLineArgs().ToList().IndexOf("-VCS");
var optionPosition = args.IndexOf("-VCS");
var vcsCommitId = args[optionPosition + 1];
return vcsCommitId;
}
}
}

0 comments on commit ded1396

Please sign in to comment.