Skip to content

Commit

Permalink
Better run handling with zip
Browse files Browse the repository at this point in the history
  • Loading branch information
PicoCreator committed Mar 14, 2022
1 parent 349ba99 commit 2ff8eb7
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/cli-command/project/run.js
Original file line number Diff line number Diff line change
Expand Up @@ -657,7 +657,9 @@ class TestRunnerSession {
// Inject the various URL links
if( !this.assumeOnPremise ) {
// Into the result message
resultMsg.push(`> See full results at : ${this.webstudioURL}/project/${this.projectID}/editor/${this.uriEncodedScriptPath}?testRunId=${this.testID}`)
if( this.testCodeDir == null ) {
resultMsg.push(`> See full results at : ${this.webstudioURL}/project/${this.projectID}/editor/${this.uriEncodedScriptPath}?testRunId=${this.testID}`)
}
resultMsg.push(`> See result snippet at : ${this.privateSnippetURL}${this.testID}`)
resultMsg.push(">")

Expand All @@ -669,7 +671,9 @@ class TestRunnerSession {
// This is the on-premise version !!!

// Into the result message
resultMsg.push(`> See full results at : ${this.webstudioURL}/project/${this.projectID}/editor/${this.uriEncodedScriptPath}?testRunId=${this.testID}`)
if( this.testCodeDir == null ) {
resultMsg.push(`> See full results at : ${this.webstudioURL}/project/${this.projectID}/editor/${this.uriEncodedScriptPath}?testRunId=${this.testID}`)
}
resultMsg.push(">")

// Or json
Expand Down

0 comments on commit 2ff8eb7

Please sign in to comment.