Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
oNaiPs committed Jun 22, 2023
1 parent c8110b9 commit 397ac11
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
1 change: 1 addition & 0 deletions dist/index.js

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

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

9 changes: 5 additions & 4 deletions src/main.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import * as core from '@actions/core'

import {camelCase} from 'camel-case'
import {constantCase} from 'constant-case'
import {pascalCase} from 'pascal-case'
import {snakeCase} from 'snake-case'
import { camelCase } from 'camel-case'
import { constantCase } from 'constant-case'
import { pascalCase } from 'pascal-case'
import { snakeCase } from 'snake-case'

const convertTypes: Record<string, (s: string) => string> = {
lower: s => s.toLowerCase(),
Expand Down Expand Up @@ -90,6 +90,7 @@ with:
}
}

core.info(`AKII ${override}`)
if (process.env[newKey]) {
if (override) {
core.warning(`Will re-write "${newKey}" environment variable.`)
Expand Down

0 comments on commit 397ac11

Please sign in to comment.