Skip to content

Commit

Permalink
Prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
oliverroick committed Apr 15, 2024
1 parent c7d9914 commit eb4e719
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/state.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export const SpawnerFormProvider = ({ children }) => {
if (!customImage) {
e[`profile-option-${profile.slug}--image--unlisted-choice`] =
"Provide a custom image.";
} else if (!(/^.+:.+$/.test(customImage))) {
} else if (!/^.+:.+$/.test(customImage)) {
e[`profile-option-${profile.slug}--image--unlisted-choice`] =
"Must be a publicly available docker image, of form <image-name>:<tag>.";
}
Expand Down

0 comments on commit eb4e719

Please sign in to comment.