Skip to content

Commit

Permalink
Typos in comments and log messages
Browse files Browse the repository at this point in the history
Summary:
No code changes, no testing required.

alligned -> aligned
allignment -> alignment
completly -> completely
conseptually -> conceptually
decendents -> descendants
indefinetly -> indefinitely
dimention -> dimension
doesnt -> doesn't
safegaurd -> safeguard
intialization -> initialization
hierachy -> hierarchy
happend -> happened
gaurd -> guard
programatically -> programmatically
initalized -> initialized
immidiately -> immediately
occured -> occurred
unkown -> unknown
neccessary -> necessary
neccesarily -> necessarily
occuring -> occurring
comoponent -> component
propogate -> propagate
recieved -> received
referece -> reference
perfomance -> performance
recieving -> receiving
subsquently -> subsequently
scoll -> scroll
suprisingly -> surprisingly
targetting -> targeting
tranform -> transform
symetrical -> symmetrical
wtih -> with
Closes facebook/react-native#17578

Differential Revision: D6718791

Pulled By: shergin

fbshipit-source-id: 4ab79c1131ec5971d35a0c7199eba7ec0a0918ad
  • Loading branch information
ss18 authored and facebook-github-bot committed Jan 13, 2018
1 parent 86828f7 commit 43d88da
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion core/makeCommand.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ module.exports = function makeCommand(command) {

commandProcess.on('close', function prelink(code) {
if (code) {
throw new Error(`Error occured during executing "${command}" command`);
throw new Error(`Error occurred during executing "${command}" command`);
}

cb();
Expand Down
2 changes: 1 addition & 1 deletion generator/copyProjectTemplateAndReplace.js
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ function upgradeFileContentChangedCallback(
} else if (contentChanged === 'identical') {
return 'keep';
} else {
throw new Error(`Unkown file changed state: ${relativeDestPath}, ${contentChanged}`);
throw new Error(`Unknown file changed state: ${relativeDestPath}, ${contentChanged}`);
}
}

Expand Down
2 changes: 1 addition & 1 deletion link/ios/createGroup.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const hasGroup = (pbxGroup, name) => pbxGroup.children.find(group => group.comme

/**
* Given project and path of the group, it deeply creates a given group
* making all outer groups if neccessary
* making all outer groups if necessary
*
* Returns newly created group
*/
Expand Down
2 changes: 1 addition & 1 deletion server/util/messageSocket.js
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ function attachToServer(server, path) {
});
break;
default:
throw `unkown method: ${message.method}`;
throw `unknown method: ${message.method}`;
}

clientWs.send(JSON.stringify({
Expand Down

0 comments on commit 43d88da

Please sign in to comment.