yarn run prettier --write "src/**/*.{js,ts}"
parent
9fbf8eb290
commit
7739ed4483
|
@ -63,7 +63,7 @@ class Docker {
|
||||||
--volume "/home/runner/work/_temp/_github_home":"/root" \
|
--volume "/home/runner/work/_temp/_github_home":"/root" \
|
||||||
--volume "/home/runner/work/_temp/_github_workflow":"/github/workflow" \
|
--volume "/home/runner/work/_temp/_github_workflow":"/github/workflow" \
|
||||||
--volume "${workspace}":"/github/workspace" \
|
--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' : ''} \
|
${sshAgent ? '--volume /home/runner/.ssh/known_hosts:/root/.ssh/known_hosts:ro' : ''} \
|
||||||
${useHostNetwork ? '--net=host' : ''} \
|
${useHostNetwork ? '--net=host' : ''} \
|
||||||
${githubToken ? '--env USE_EXIT_CODE=false' : '--env USE_EXIT_CODE=true'} \
|
${githubToken ? '--env USE_EXIT_CODE=false' : '--env USE_EXIT_CODE=true'} \
|
||||||
|
|
|
@ -104,9 +104,7 @@ export class TestMeta extends Meta {
|
||||||
}
|
}
|
||||||
|
|
||||||
get summary(): string {
|
get summary(): string {
|
||||||
const dPart = this.isSkipped()
|
const dPart = this.isSkipped() ? '' : ` in ${timeHelper(this.duration)}`;
|
||||||
? ''
|
|
||||||
: ` in ${timeHelper(this.duration)}`;
|
|
||||||
return `${this.mark} **${this.title}** - ${this.result}${dPart}`;
|
return `${this.mark} **${this.title}** - ${this.result}${dPart}`;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue