Fix typos in comments of src/utils.

Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
This commit is contained in:
Dongjoon Hyun 2016-02-15 16:04:35 -08:00
parent 902fb2ec66
commit 5a2baa1369
2 changed files with 2 additions and 2 deletions

View File

@ -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) {

View File

@ -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);
},