Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
RamanaReddy0M committed Jul 25, 2024
1 parent 4aee4d3 commit 42edc3d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
9 changes: 1 addition & 8 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -6791,13 +6791,6 @@ var __webpack_exports__ = {};
// ESM COMPAT FLAG
__nccwpck_require__.r(__webpack_exports__);

// NAMESPACE OBJECT: ./src/yaml.js
var yaml_namespaceObject = {};
__nccwpck_require__.r(yaml_namespaceObject);
__nccwpck_require__.d(yaml_namespaceObject, {
"I": () => (generateGithubReportFile)
});

// EXTERNAL MODULE: ./node_modules/@actions/core/lib/core.js
var core = __nccwpck_require__(2186);
// EXTERNAL MODULE: ./node_modules/@actions/exec/lib/exec.js
Expand Down Expand Up @@ -10887,7 +10880,7 @@ async function run() {
// create default config file with name `github-report.yaml`
console.log('Generating github report default`');
await generateGithubReportFile(githubToken);
params.push(`-rc=${yaml_namespaceObject.DEFAULT_GITHUB_REPORT_CONFIG}`);
params.push(`-rc=${DEFAULT_GITHUB_REPORT_CONFIG}`);
} else if (reportConfig && reportConfig.trim().length > 0) {
console.log('Generating github report with custom config: ', reportConfig);
await generateGithubReportFile(githubToken, reportConfig);
Expand Down
2 changes: 1 addition & 1 deletion src/yaml.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const GITHUB_REPOSITORY_OWNER = process.env.GITHUB_REPOSITORY_OWNER;
const GITHUB_REPOSITORY = process.env.GITHUB_REPOSITORY.replace(`${GITHUB_REPOSITORY_OWNER}/`, '');
const GITHUB_WORKSPACE = process.env.GITHUB_WORKSPACE;

const DEFAULT_GITHUB_REPORT_CONFIG = 'default-github-report.yaml';
export const DEFAULT_GITHUB_REPORT_CONFIG = 'default-github-report.yaml';

export async function generateGithubReportFile(token, reportConfigFileName = DEFAULT_GITHUB_REPORT_CONFIG) {
const gitHubRepoConfig = {
Expand Down

0 comments on commit 42edc3d

Please sign in to comment.