Skip to content

Commit

Permalink
fix: stdout/err initialization
Browse files Browse the repository at this point in the history
  • Loading branch information
rarkins committed Feb 22, 2020
1 parent de17ac8 commit f0f8fd1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/manager/npm/post-update/yarn.ts
Expand Up @@ -23,8 +23,8 @@ export async function generateLockFile(
const { binarySource } = config;
logger.debug(`Spawning yarn install to create ${cwd}/yarn.lock`);
let lockFile = null;
let stdout: string;
let stderr: string;
let stdout = '';
let stderr = '';
let cmd: string;
try {
try {
Expand Down

0 comments on commit f0f8fd1

Please sign in to comment.