Skip to content

Commit 4051871

Browse files
committed
Replace from console.log to console.info
1 parent e4e78ad commit 4051871

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

extension.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@ const getCanonicalPath = (workingDirectory, gotPath) => {
2323
* @param {vscode.ExtensionContext} context
2424
*/
2525
const activate = context => {
26-
// Use the console to output diagnostic information (console.log) and errors (console.error)
26+
// Use the console to output diagnostic information (console.info) and errors (console.error)
2727
// This line of code will only be executed once when your extension is activated
28-
console.log('Congratulations, your extension "searchrep" is now active!')
28+
console.info('Congratulations, your extension "searchrep" is now active!')
2929

3030
// The command has been defined in the package.json file
3131
// Now provide the implementation of the command with registerCommand

test/runTest.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ async function main () {
66
// The folder containing the Extension Manifest package.json
77
// Passed to `--extensionDevelopmentPath`
88
const extensionDevelopmentPath = path.resolve(__dirname, '../')
9-
console.log(extensionDevelopmentPath)
9+
console.info(extensionDevelopmentPath)
1010

1111
// The path to the extension test script
1212
// Passed to --extensionTestsPath

test/suite/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ function run () {
1010
})
1111

1212
const testsRoot = path.resolve(__dirname, '..')
13-
console.log(testsRoot)
13+
console.info(testsRoot)
1414

1515
return new Promise((resolve, reject) => {
1616
glob('**/**.test.js', { cwd: testsRoot }, (err, files) => {

0 commit comments

Comments
 (0)