1
0
Fork 0
mirror of https://we.phorge.it/source/arcanist.git synced 2024-11-22 14:52:40 +01:00

Minor linter fixes

Summary: Minor linter fixes.

Test Plan: `arc lint`

Reviewers: epriestley, #blessed_reviewers

Reviewed By: epriestley, #blessed_reviewers

Subscribers: Korvin, epriestley

Differential Revision: https://secure.phabricator.com/D12836
This commit is contained in:
Joshua Spence 2015-05-15 07:09:30 +10:00
parent c6fa42b9c5
commit 4864435a50
4 changed files with 6 additions and 11 deletions

View file

@ -183,7 +183,8 @@ EOTEXT
// Create commit message and execute the commit
$message = $this->buildCommitMessage($commit_hash);
$repository_api->doCommit($message);
$console->writeOut(pht('Double-check the commit and push when ready.')."\n");
$console->writeOut("%s\n",
pht('Double-check the commit and push when ready.'));
}
}

View file

@ -29,8 +29,4 @@ EOTEXT
return array('hg');
}
public function run() {
return parent::run();
}
}

View file

@ -29,8 +29,4 @@ EOTEXT
return array('git');
}
public function run() {
return parent::run();
}
}

View file

@ -223,8 +223,10 @@ EOTEXT
if (preg_match('/^[a-z-]+$/', $name)) {
break;
} else {
echo pht(
'Library name should contain only lowercase letters and hyphens.')."\n";
echo phutil_console_format(
"%s\n",
pht(
'Library name should contain only lowercase letters and hyphens.'));
}
} while (true);