Remove outside declaration
This commit is contained in:
@@ -44,9 +44,8 @@ export const utils = {
|
|||||||
return updatedPackages;
|
return updatedPackages;
|
||||||
},
|
},
|
||||||
getChangelogJSONIfExists(changelogPath: string) {
|
getChangelogJSONIfExists(changelogPath: string) {
|
||||||
let changelogJSON: string;
|
|
||||||
try {
|
try {
|
||||||
changelogJSON = fs.readFileSync(changelogPath, 'utf-8');
|
const changelogJSON = fs.readFileSync(changelogPath, 'utf-8');
|
||||||
return changelogJSON;
|
return changelogJSON;
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
return undefined;
|
return undefined;
|
||||||
|
Reference in New Issue
Block a user