Skip to content

Commit

Permalink
fix lint warning (#3226)
Browse files Browse the repository at this point in the history
  • Loading branch information
mourner authored and bestander committed Apr 22, 2017
1 parent 504b8cf commit b8266f5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/util/fs.js
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,9 @@ async function buildActionsForCopy(
destStat = await lstat(dest);
} catch (e) {
// proceed if destination doesn't exist, otherwise error
if (e.code !== 'ENOENT') throw e;
if (e.code !== 'ENOENT') {
throw e;
}
}

// if destination exists
Expand Down

0 comments on commit b8266f5

Please sign in to comment.