chore: minor typo cleanup (#6324)

* chore: minor typo cleanup

* fix tests

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
This commit is contained in:
Nick Schonning 2022-01-13 01:36:53 -05:00 committed by GitHub
parent 217b62682d
commit 02a233a221
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
19 changed files with 26 additions and 26 deletions

View file

@ -67,7 +67,7 @@ async function generateTemplateExample(template) {
);
// create sandbox.config.json file at the root of template
const codeSanboxConfig = {
const codeSandboxConfig = {
infiniteLoopProtection: true,
hardReloadOnChange: true,
view: 'browser',
@ -79,7 +79,7 @@ async function generateTemplateExample(template) {
};
await fs.writeFile(
`./examples/${template}/sandbox.config.json`,
`${JSON.stringify(codeSanboxConfig, null, 2)}\n`,
`${JSON.stringify(codeSandboxConfig, null, 2)}\n`,
);
const stackBlitzConfig = {
@ -185,7 +185,7 @@ console.log(`Will generate examples for templates: ${templates.join(',')}`);
for (const template of templates) {
await generateTemplateExample(template);
}
console.log('Commiting changes');
console.log('Committing changes');
shell.exec('git add examples');
shell.exec("git commit -am 'update examples' --allow-empty");