mirror of
https://github.com/docker/docs.git
synced 2026-04-12 14:25:46 +07:00
Fix typos in comments of src/utils.
Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
This commit is contained in:
@@ -91,7 +91,7 @@ export default {
|
||||
try {
|
||||
setupServerActions.started({started: false});
|
||||
|
||||
// Make sure virtulBox and docker-machine are installed
|
||||
// Make sure virtualBox and docker-machine are installed
|
||||
let virtualBoxInstalled = virtualBox.installed();
|
||||
let machineInstalled = machine.installed();
|
||||
if (!virtualBoxInstalled || !machineInstalled) {
|
||||
|
||||
@@ -92,7 +92,7 @@ module.exports = {
|
||||
// An official repo is alphanumeric characters separated by dashes or
|
||||
// underscores.
|
||||
// Examples: myrepo, my-docker-repo, my_docker_repo
|
||||
// Non-exapmles: mynamespace/myrepo, my%!repo
|
||||
// Non-examples: mynamespace/myrepo, my%!repo
|
||||
var repoRegexp = /^[a-z0-9]+(?:[._-][a-z0-9]+)*$/;
|
||||
return repoRegexp.test(name);
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user