fix lint errors
Summary: builds were breakign due to linting erros Reviewed By: jknoxville Differential Revision: D8781557 fbshipit-source-id: fccd349d0088a7b7ab8359dfd4edee20230c2393
This commit is contained in:
committed by
Facebook Github Bot
parent
c948e50c10
commit
c50b2864ce
@@ -11,7 +11,9 @@ const {spawn} = require('child_process');
|
|||||||
const PACKAGES = ['static', 'src/plugins/*', 'src/fb/plugins/*'];
|
const PACKAGES = ['static', 'src/plugins/*', 'src/fb/plugins/*'];
|
||||||
const WINDOWS = /^win/.test(process.platform);
|
const WINDOWS = /^win/.test(process.platform);
|
||||||
const YARN_PATH =
|
const YARN_PATH =
|
||||||
process.argv.length > 2 ? path.join(__dirname, process.argv[2]) : 'yarn' + (WINDOWS ? '.cmd' : '');
|
process.argv.length > 2
|
||||||
|
? path.join(__dirname, process.argv[2])
|
||||||
|
: 'yarn' + (WINDOWS ? '.cmd' : '');
|
||||||
|
|
||||||
Promise.all(
|
Promise.all(
|
||||||
PACKAGES.map(
|
PACKAGES.map(
|
||||||
|
|||||||
@@ -87,6 +87,8 @@ export default class AutoUpdateVersion extends Component<{}, State> {
|
|||||||
)}
|
)}
|
||||||
{this.state.updater === 'update-downloaded' && (
|
{this.state.updater === 'update-downloaded' && (
|
||||||
<span
|
<span
|
||||||
|
tabIndex={-1}
|
||||||
|
role="button"
|
||||||
title="Update available. Restart Sonar."
|
title="Update available. Restart Sonar."
|
||||||
onClick={remote.autoUpdater.quitAndInstall}>
|
onClick={remote.autoUpdater.quitAndInstall}>
|
||||||
<Glyph color={colors.light30} name="breaking-news" />
|
<Glyph color={colors.light30} name="breaking-news" />
|
||||||
|
|||||||
Reference in New Issue
Block a user