INNER CODE UNIT · JavaScript

message

semperai/amica · github-actions-reporter.js:18

          const message = failureMessages.replace(/\n/g, newLine)
          const captureGroup = message.match(/:([0-9]+):([0-9]+)/)

          if (!captureGroup) {
            console.log('Unable to extract line number from call stack')
            return
          }

          const [, line, col] = captureGroup
          console.log(
            `::error file=${testFilePath},line=${line},col=${col}::${message}`,
          )
        })
      })
    })
  }
}

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…