Skip to content

Commit

Permalink
Hosted entry path (#616)
Browse files Browse the repository at this point in the history
* suggested paths should be absolute
  • Loading branch information
agduncan94 authored Apr 3, 2019
1 parent d3f62eb commit 13223fa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/app/shared/code-editor-list/code-editor-list.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@ export class CodeEditorListComponent {
filesToAdd.push(this.createFileObject('/Dockstore' + newFilePath));
}
} else if (!this.hasPrimaryTestParam() && this.fileType === 'testParam') {
filesToAdd.push(this.createFileObject('test.' + this.descriptorType.toLowerCase() + newFilePath));
filesToAdd.push(this.createFileObject('/test.' + this.descriptorType.toLowerCase() + newFilePath));
} else {
filesToAdd.push(this.createFileObject(newFilePath));
filesToAdd.push(this.createFileObject('/' + newFilePath));
}

if (this.sourcefiles === undefined) {
Expand Down Expand Up @@ -129,7 +129,7 @@ export class CodeEditorListComponent {
} else if (this.fileType === 'testParam') {
return '.json';
} else if (this.fileType === 'dockerfile') {
return '/Dockerfile';
return 'Dockerfile';
}
}

Expand Down

0 comments on commit 13223fa

Please sign in to comment.