Skip to content

Commit 3eb7f6a

Browse files
Remove unnecessary newlines from output messages.
1 parent e23bdf0 commit 3eb7f6a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/RoboFile.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,10 +103,10 @@ public function drupal_scaffoldDownload($version = '8', $options = array(
103103
* @param string $target
104104
*/
105105
protected function downloadFile($source, $target) {
106-
$this->say("Attempt to download $source to $target\n");
106+
$this->say("Attempt to download $source to $target");
107107
$fp = fopen($target, 'w+');
108108
if (!$fp) {
109-
$this->yell('Could not open target file ' . $target . "\n");
109+
$this->yell('Could not open target file ' . $target);
110110
return false;
111111
}
112112
$ch = curl_init();
@@ -123,7 +123,7 @@ protected function downloadFile($source, $target) {
123123
curl_close($ch);
124124

125125
if (!array_key_exists('http_code', $details) || ($details['http_code'] != '200')) {
126-
$this->yell('Could not download ' . $source . "\n");
126+
$this->yell('Could not download ' . $source);
127127
return false;
128128
}
129129
return true;

0 commit comments

Comments
 (0)