mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Fix: Report breaking changes workflow error message (#70152)
This commit is contained in:
parent
f06ccbdf6e
commit
5ca7a1a01e
@ -1,7 +1,7 @@
|
||||
module.exports = async ({ core, filePath }) => {
|
||||
try {
|
||||
const fs = require('fs').promises;
|
||||
const content = await fs.readFile(filepath)
|
||||
const content = await fs.readFile(filePath)
|
||||
const result = JSON.parse(content);
|
||||
|
||||
core.startGroup('Parsing json file...');
|
||||
@ -13,6 +13,6 @@ module.exports = async ({ core, filePath }) => {
|
||||
|
||||
core.endGroup();
|
||||
} catch (error) {
|
||||
core.restFailed(error.message);
|
||||
core.setFailed(error.message);
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user