Skip to content

Commit 2c1309a

Browse files
committed
chore: remove console logs, closes #1359
1 parent 00170ba commit 2c1309a

File tree

3 files changed

+0
-10
lines changed

3 files changed

+0
-10
lines changed

packages/app-backend-core/src/app.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ async function registerAppJob (options: AppRecordOptions, ctx: BackendContext) {
4040
if (backend.frameworkVersion === baseFrameworkVersion) {
4141
// Enabled backend
4242
if (!enabledBackends.has(backend)) {
43-
console.log('Enabling backend for Vue', backend.frameworkVersion)
4443
backend.setup(ctx.api)
4544
enabledBackends.add(backend)
4645
}

packages/app-backend-core/src/index.ts

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,6 @@ async function connect () {
8080

8181
await waitForAppsRegistration()
8282

83-
console.log('%cconnect', 'color: blue;')
84-
8583
ctx.currentTab = BuiltinTabs.COMPONENTS
8684

8785
// Subscriptions
@@ -137,8 +135,6 @@ async function connect () {
137135
})
138136

139137
hook.on(HookEvents.COMPONENT_ADDED, (app, uid, parentUid, component) => {
140-
// console.log('hook: component added', app, uid, parentUid, component)
141-
142138
const id = getComponentId(app, uid, ctx)
143139
if (component) {
144140
if (component.__VUE_DEVTOOLS_UID__ == null) {
@@ -337,10 +333,6 @@ async function connect () {
337333
hook.on(HookEvents.SETUP_DEVTOOLS_PLUGIN, (pluginDescriptor: PluginDescriptor, setupFn: SetupFunction) => {
338334
addPlugin(pluginDescriptor, setupFn, ctx)
339335
})
340-
341-
// @TODO
342-
343-
console.log('%cconnect done', 'color: green')
344336
}
345337

346338
async function flushAll () {

packages/app-backend-vue3/src/components/data.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ import { HookPayloads, Hooks, InspectedComponentData } from '@vue/devtools-api'
88
* Get the detailed information of an inspected instance.
99
*/
1010
export async function getInstanceDetails (instance: any, ctx: BackendContext): Promise<InspectedComponentData> {
11-
console.log(instance)
1211
return {
1312
id: getUniqueComponentId(instance, ctx),
1413
name: getInstanceName(instance),

0 commit comments

Comments
 (0)