mirror of
https://github.com/deps-rs/deps.rs.git
synced 2024-11-22 10:26:30 +00:00
use HEAD instead of master
This commit is contained in:
parent
161e29e6d6
commit
107840c6ee
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ const BITBUCKET_USER_CONTENT_BASE_URI: &'static str = "https://bitbucket.org";
|
||||||
|
|
||||||
pub fn get_manifest_uri(repo_path: &RepoPath, path: &RelativePathBuf) -> Result<Uri, Error> {
|
pub fn get_manifest_uri(repo_path: &RepoPath, path: &RelativePathBuf) -> Result<Uri, Error> {
|
||||||
let path_str: &str = path.as_ref();
|
let path_str: &str = path.as_ref();
|
||||||
Ok(format!("{}/{}/{}/raw/master/{}",
|
Ok(format!("{}/{}/{}/raw/HEAD/{}",
|
||||||
BITBUCKET_USER_CONTENT_BASE_URI,
|
BITBUCKET_USER_CONTENT_BASE_URI,
|
||||||
repo_path.qual.as_ref(),
|
repo_path.qual.as_ref(),
|
||||||
repo_path.name.as_ref(),
|
repo_path.name.as_ref(),
|
||||||
|
|
Loading…
Reference in a new issue