Skip to content

Commit

Permalink
added console
Browse files Browse the repository at this point in the history
  • Loading branch information
mdlucas committed Mar 4, 2024
1 parent d0719a0 commit 280b8a2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "action-check-config",
"description": "GitHub Actions for check config",
"version": "0.0.1",
"version": "0.0.4",
"author": "",
"private": true,
"homepage": "https://github.com/platformbuilders/actions-check-config",
Expand Down
3 changes: 3 additions & 0 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,12 @@ export async function run(): Promise<void> {

// Check in parallel
const files = await glob(fileEnv)
core.info(files.toString())

if (files.length > 0) {
files.forEach(async file => {
core.info(file)

const contents = await fsPromises.readFile(file, 'utf-8')

const result = contents.includes('CODEPUSH_KEY_PRD')
Expand Down

0 comments on commit 280b8a2

Please sign in to comment.