Handle strings as such (#100)

* Handle strings as such

* Let automation do its thing
This commit is contained in:
Paulo F. Oliveira
2022-04-07 20:27:52 +01:00
committed by GitHub
parent 3e684c4e0b
commit 2e0500f2a5
3 changed files with 4 additions and 5 deletions
-1
View File
@@ -27,7 +27,6 @@ jobs:
- run: npm run shellcheck - run: npm run shellcheck
- run: npm run yamllint - run: npm run yamllint
- run: npm run jslint - run: npm run jslint
- run: npm run licenses
- name: Check if build left artifacts - name: Check if build left artifacts
run: git diff --exit-code run: git diff --exit-code
+2 -2
View File
@@ -6046,7 +6046,7 @@ async function maybeInstallElixir(elixirSpec, otpVersion) {
const disableProblemMatchers = core.getInput('disable_problem_matchers', { const disableProblemMatchers = core.getInput('disable_problem_matchers', {
required: false, required: false,
}) })
if (!disableProblemMatchers) { if (disableProblemMatchers === 'false') {
const matchersPath = __nccwpck_require__.ab + ".github" const matchersPath = __nccwpck_require__.ab + ".github"
console.log( console.log(
`##[add-matcher]${path.join(matchersPath, 'elixir-matchers.json')}`, `##[add-matcher]${path.join(matchersPath, 'elixir-matchers.json')}`,
@@ -6062,7 +6062,7 @@ async function maybeInstallElixir(elixirSpec, otpVersion) {
} }
async function mix(shouldMix, what) { async function mix(shouldMix, what) {
if (shouldMix) { if (shouldMix === 'true') {
const cmd = 'mix' const cmd = 'mix'
const args = [`local.${what}`, '--force'] const args = [`local.${what}`, '--force']
console.log(`##[group]Running ${cmd} ${args}`) console.log(`##[group]Running ${cmd} ${args}`)
+2 -2
View File
@@ -73,7 +73,7 @@ async function maybeInstallElixir(elixirSpec, otpVersion) {
const disableProblemMatchers = core.getInput('disable_problem_matchers', { const disableProblemMatchers = core.getInput('disable_problem_matchers', {
required: false, required: false,
}) })
if (!disableProblemMatchers) { if (disableProblemMatchers === 'false') {
const matchersPath = path.join(__dirname, '..', '.github') const matchersPath = path.join(__dirname, '..', '.github')
console.log( console.log(
`##[add-matcher]${path.join(matchersPath, 'elixir-matchers.json')}`, `##[add-matcher]${path.join(matchersPath, 'elixir-matchers.json')}`,
@@ -89,7 +89,7 @@ async function maybeInstallElixir(elixirSpec, otpVersion) {
} }
async function mix(shouldMix, what) { async function mix(shouldMix, what) {
if (shouldMix) { if (shouldMix === 'true') {
const cmd = 'mix' const cmd = 'mix'
const args = [`local.${what}`, '--force'] const args = [`local.${what}`, '--force']
console.log(`##[group]Running ${cmd} ${args}`) console.log(`##[group]Running ${cmd} ${args}`)