Fix typos in log messages

Several of the log messages contained minor typos.
This commit is contained in:
per1234 2022-08-20 19:42:51 -07:00
parent 1281ad1932
commit 3ec62642dd
5 changed files with 5 additions and 5 deletions

View File

@ -743,7 +743,7 @@ export class CompilerErrors
} }
console.warn( console.warn(
'compiler-errors', 'compiler-errors',
`could not found editor widget for URI: ${uri}` `could not find editor widget for URI: ${uri}`
); );
return undefined; return undefined;
} }

View File

@ -97,7 +97,7 @@ export class SketchesServiceClientImpl
); );
if (!this.sketches.has(toAdd.uri)) { if (!this.sketches.has(toAdd.uri)) {
console.log( console.log(
`New sketch '${toAdd.name}' was crated in sketchbook '${sketchDirUri}'.` `New sketch '${toAdd.name}' was created in sketchbook '${sketchDirUri}'.`
); );
this.sketches.set(toAdd.uri, toAdd); this.sketches.set(toAdd.uri, toAdd);
this.fireSoon(toAdd, 'created'); this.fireSoon(toAdd, 'created');

View File

@ -144,7 +144,7 @@ export class CoreClientProvider {
await this.updateIndexes(client); // TODO: this should run without the 3rd party URLs await this.updateIndexes(client); // TODO: this should run without the 3rd party URLs
await this.initInstance(client); await this.initInstance(client);
console.info( console.info(
`Downloaded the primary packages indexes, and successfully initialized the core gRPC client.` `Downloaded the primary package indexes, and successfully initialized the core gRPC client.`
); );
} else { } else {
console.error( console.error(

View File

@ -63,7 +63,7 @@ export class CoreServiceImpl extends CoreClientAware implements CoreService {
} else { } else {
if (!!buildPath && currentBuildPath !== buildPath) { if (!!buildPath && currentBuildPath !== buildPath) {
throw new Error( throw new Error(
`The CLI has already provided a build path: <${buildPath}>, and IDE2 received a new build path value: <${currentBuildPath}>.` `The CLI has already provided a build path: <${buildPath}>, and IDE received a new build path value: <${currentBuildPath}>.`
); );
} }
} }

View File

@ -99,7 +99,7 @@ const getTranslationDownloadStatus = async (language, downloadRequestId) => {
const { organization, project, resource } = await transifex.credentials(); const { organization, project, resource } = await transifex.credentials();
const translationsDirectory = process.argv[2]; const translationsDirectory = process.argv[2];
if (!translationsDirectory) { if (!translationsDirectory) {
shell.echo('Traslations directory not specified'); shell.echo('Translations directory not specified');
shell.exit(1); shell.exit(1);
} }