Skip to content

Commit

Permalink
Updated path to electron-builder hashFile utility
Browse files Browse the repository at this point in the history
  • Loading branch information
tonyanziano committed Mar 5, 2021
1 parent c9413ff commit f22610b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- [main] Fixed a bug where we were expecting the incorrect shape from Electron's updated `dialog.showOpenDialog()` API in PR [2237](https://github.com/microsoft/BotFramework-Emulator/pull/2237)
- [main] Fixed a bug that was causing Electron's native context menu to silently fail when selecting an option in PR [2238](https://github.com/microsoft/BotFramework-Emulator/pull/2238)
- [client] Fixed an aligment issue with the caret button of the `<SplitButton />` widget in PR [2239](https://github.com/microsoft/BotFramework-Emulator/pull/2239)
- [main] Fixed an outdated path to an `electron-builder` utility function used to generate the auto update yaml files in PR [2240](https://github.com/microsoft/BotFramework-Emulator/pull/2240)

## v4.11.0 - 2020 - 11 - 05
- [client] Moved from master to main as the default branch. [2194](https://github.com/microsoft/BotFramework-Emulator/pull/2194)
Expand Down
4 changes: 2 additions & 2 deletions packages/app/main/scripts/common.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@

/** Hashes a file asynchronously */
function hashFileAsync(filename, algo = 'sha512', encoding = 'base64') {
var builderUtil = require('builder-util');
var builderUtil = require('app-builder-lib/out/util/hash');
return builderUtil.hashFile(filename, algo, encoding);
}

module.exports = {
hashFileAsync
hashFileAsync,
};

0 comments on commit f22610b

Please sign in to comment.