mirror of https://github.com/docker/docs.git
Merge pull request #1477 from dongjoon-hyun/fix_typos
Fix typos in comments of src/utils.
This commit is contained in:
commit
856a989d83
|
|
@ -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);
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in New Issue