Show FB-internal announcements only in internal changelog (#1544)
Summary: Pull Request resolved: https://github.com/facebook/flipper/pull/1544 Added Facebook changelog file Reviewed By: nikoant Differential Revision: D23930322 fbshipit-source-id: bb6be359d36188f142d342604e50010170086610
This commit is contained in:
committed by
Facebook GitHub Bot
parent
95ae7a8bce
commit
5e979403a0
@@ -12,7 +12,7 @@ import {readFileSync} from 'fs';
|
||||
import React, {Component} from 'react';
|
||||
import path from 'path';
|
||||
import {reportUsage} from '../utils/metrics';
|
||||
import {getStaticPath} from '../utils/pathUtils';
|
||||
import {getChangelogPath} from '../utils/pathUtils';
|
||||
|
||||
const changelogKey = 'FlipperChangelogStatus';
|
||||
|
||||
@@ -22,7 +22,7 @@ type ChangelogStatus = {
|
||||
|
||||
let getChangelogFromDisk = (): string => {
|
||||
const changelogFromDisk: string = readFileSync(
|
||||
path.join(getStaticPath(), 'CHANGELOG.md'),
|
||||
path.join(getChangelogPath(), 'CHANGELOG.md'),
|
||||
'utf8',
|
||||
).trim();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user