Skip to content

Commit

Permalink
Merge pull request #96 from neonidian/format-code
Browse files Browse the repository at this point in the history
Update test to verify formatting
  • Loading branch information
neonidian authored Jul 31, 2024
2 parents 2dd97e3 + 1463308 commit c73dbf4
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
if: ${{ always() }}
with:
webhookUrl: ${{ secrets.TEAMS_TEST_HOOK_URL }}
message: Test action workflow
message: "1. Test action workflow\r2. Second line should be displayed"
status: ${{ job.status }}
title: Test action workflow title
titleBackgroundColor: ${{ job.status }}
Expand All @@ -67,7 +67,7 @@ jobs:
${{ secrets.TEAMS_TEST_HOOK_URL }}
${{ secrets.TEAMS_TEST_HOOK_URL_2 }}
${{ secrets.TEAMS_TEST_HOOK_URL_3 }}
message: Multiple webhook URLs. Test action workflow
message: "- Multiple webhook URLs\r- Test action workflow displayed in second line"
status: ${{ job.status }}
title: Test action workflow title
titleBackgroundColor: ${{ job.status }}
Expand Down
4 changes: 2 additions & 2 deletions dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/payload/customize-card/envs.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ const envs = () => {
// Read env variable values, set to default if value not set
const allEnvs = {};
envVariableNames.forEach(envName => {
const envElement = process.env[envName[0]];
allEnvs[envName[0]] = envElement ? validateEnvVariableName(envName[0], envElement) : envName[1];
const envElement = process.env[envName[0]];
allEnvs[envName[0]] = envElement ? validateEnvVariableName(envName[0], envElement) : envName[1];
}
);

Expand Down

0 comments on commit c73dbf4

Please sign in to comment.