yarn run prettier --write "src/**/*.{js,ts}"

pull/124/head
Ivan Hernandez 2021-05-20 20:09:35 +02:00
parent 9fbf8eb290
commit 7739ed4483
2 changed files with 2 additions and 4 deletions

View File

@ -63,7 +63,7 @@ class Docker {
--volume "/home/runner/work/_temp/_github_home":"/root" \
--volume "/home/runner/work/_temp/_github_workflow":"/github/workflow" \
--volume "${workspace}":"/github/workspace" \
${sshAgent ? "--volume " + sshAgent + ":/ssh-agent" : ''} \
${sshAgent ? '--volume ' + sshAgent + ':/ssh-agent' : ''} \
${sshAgent ? '--volume /home/runner/.ssh/known_hosts:/root/.ssh/known_hosts:ro' : ''} \
${useHostNetwork ? '--net=host' : ''} \
${githubToken ? '--env USE_EXIT_CODE=false' : '--env USE_EXIT_CODE=true'} \

View File

@ -104,9 +104,7 @@ export class TestMeta extends Meta {
}
get summary(): string {
const dPart = this.isSkipped()
? ''
: ` in ${timeHelper(this.duration)}`;
const dPart = this.isSkipped() ? '' : ` in ${timeHelper(this.duration)}`;
return `${this.mark} **${this.title}** - ${this.result}${dPart}`;
}