Skip to content

Commit

Permalink
Fix a couple of warnings to trigger a new build
Browse files Browse the repository at this point in the history
  • Loading branch information
tido64 committed Mar 11, 2020
1 parent 7b1816b commit de88a70
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions bots/datastore.js
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ function getLatestDocument(collection) {
*/
module.exports = {
initializeStore,
initializeBinarySizesCollection,
getBinarySizesCollection,
createOrUpdateDocument,
getLatestDocument,
Expand Down
2 changes: 1 addition & 1 deletion bots/report-bundle-size.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ async function reportSizeStats(stats, replacePattern) {
function getFileSize(path) {
try {
const stats = fs.statSync(path);
return stats['size'];
return stats.size;
} catch {
return 0;
}
Expand Down

0 comments on commit de88a70

Please sign in to comment.