зеркало из https://github.com/mozilla/gecko-dev.git
bug 1569143: mozprofile: lint; r=webdriver-reviewers,automatedtester
Differential Revision: https://phabricator.services.mozilla.com/D39486 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
674fb7f25d
Коммит
ac034168fc
|
@ -1025,7 +1025,8 @@ pub fn serialize<W: Write>(prefs: &Preferences, output: &mut W) -> io::Result<()
|
|||
"sticky_pref("
|
||||
} else {
|
||||
"user_pref("
|
||||
}.as_bytes();
|
||||
}
|
||||
.as_bytes();
|
||||
output.write_all(func)?;
|
||||
output.write_all(b"\"")?;
|
||||
output.write_all(escape_quote(key).as_bytes())?;
|
||||
|
|
|
@ -28,7 +28,7 @@ impl Profile {
|
|||
})
|
||||
}
|
||||
|
||||
pub fn new_from_path(p: &Path) -> IoResult<Profile> {
|
||||
pub fn new_from_path(p: &Path) -> IoResult<Profile> {
|
||||
let path = p.to_path_buf();
|
||||
let temp_dir = None;
|
||||
Ok(Profile {
|
||||
|
|
Загрузка…
Ссылка в новой задаче