Upgrade electron
Summary: Tried to upgrade both electron and electron-builder but failed due to Windows binary build stuck. Upgraded only electron for now. electron-builder will be upgraded separately Reviewed By: nikoant Differential Revision: D19877865 fbshipit-source-id: a2282c2f4062e6b470cdcba2e9e693419bfeaec4
This commit is contained in:
committed by
Facebook Github Bot
parent
e5f8b93426
commit
b5256abd0c
@@ -106,7 +106,7 @@ function getVersionNumber() {
|
||||
// Asynchronously determine current mercurial revision as string or `null` in case of any error.
|
||||
function genMercurialRevision() {
|
||||
return cp
|
||||
.spawn('hg', ['log', '-r', '.', '-T', '{node}'])
|
||||
.spawn('hg', ['log', '-r', '.', '-T', '{node}'], {encoding: 'utf8'})
|
||||
.catch(err => null)
|
||||
.then(res => (res && res.stdout) || null);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user