Skip to content

Commit

Permalink
Fix replace on possibly undefined identifier
Browse files Browse the repository at this point in the history
  • Loading branch information
0x2b3bfa0 committed May 20, 2021
1 parent 498fcd1 commit c61fe70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/cml-runner.js
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ const run_cloud = async (opts) => {
cloud,
region,
type,
gpu: gpu.replace(/^tesla$/, 'v100'),
gpu: gpu === 'tesla' ? 'v100' : gpu,
hdd_size,
ssh_private,
spot,
Expand Down

4 comments on commit c61fe70

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Test Comment

CML watermark

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Test Comment

CML watermark

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Test Comment

CML watermark

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Test Comment

CML watermark

Please sign in to comment.