Skip to content

Commit

Permalink
Add return type of findAvailableLogFile (#5189)
Browse files Browse the repository at this point in the history
Co-authored-by: Bryan Kendall <bkend@google.com>
  • Loading branch information
kazuooooo and bkendall committed Dec 5, 2022
1 parent ab11ced commit 5712978
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bin/firebase.ts
Expand Up @@ -38,7 +38,7 @@ import * as winston from "winston";
let args = process.argv.slice(2);
let cmd: Command;

function findAvailableLogFile() {
function findAvailableLogFile(): string {
const candidates = ["firebase-debug.log"];
for (let i = 1; i < 10; i++) {
candidates.push(`firebase-debug.${i}.log`);
Expand Down

0 comments on commit 5712978

Please sign in to comment.