Skip to content

Commit

Permalink
Merge pull request #3 from reallyli/analysis-8nVD1N
Browse files Browse the repository at this point in the history
Apply fixes from StyleCI
  • Loading branch information
reallyli authored Sep 29, 2018
2 parents 4698cab + 078ee51 commit b4501cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/task/init.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ function recordOperationLog($behavior, $filename)
'last_commit_date:'.get('last_commit_date'),
'last_commit_author:'.get('last_commit_author'),
]);
$filterRevisionMessageSpace = str_replace("\n", " ", $revisionMessage);
$filterRevisionMessageSpace = str_replace("\n", ' ', $revisionMessage);

run('echo '.$filterRevisionMessageSpace.' >> '.get('deploy_path').'/'.$filename.'.log');
writeln('📝 record '.$behavior.' log successfully ✔');
Expand Down

0 comments on commit b4501cf

Please sign in to comment.