Skip to content

Commit

Permalink
Fix incorrect print statement
Browse files Browse the repository at this point in the history
at least it does print when the error occurs
  • Loading branch information
Jessica Kerr committed Aug 30, 2018
1 parent a0c2e06 commit 7aa2e42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api-helper/misc/git/filesChangedSince.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export async function filesChangedSince(project: GitProject, sha: string): Promi
logger.warn("Project sha = %s, branch = %s", project.id.sha);
try {
const gs = await project.gitStatus();
logger.warn("Git status sha = %s, branch = %s" + gs.sha, gs.branch);
logger.warn("Git status sha = %s, branch = %s", gs.sha, gs.branch);
const timeOfLastChange = await runCommand("ls -ltr .", { cwd: project.baseDir });
logger.info("Files with dates: " + timeOfLastChange.stdout);
} catch (err) {
Expand Down

0 comments on commit 7aa2e42

Please sign in to comment.