diff --git a/build/copy_plugin.js b/build/copy_plugin.js index a783fe7ff..694048a36 100644 --- a/build/copy_plugin.js +++ b/build/copy_plugin.js @@ -29,9 +29,9 @@ const copyPlugin = ({ inUrl, inFs }) => { order: 'post', sequential: true, async handler () { - console.log(`Copying '${inFs}' to ${copyTarget}...`) + console.info(`Copying '${inFs}' to ${copyTarget}...`) await cp(inFs, copyTarget, { recursive: true }) - console.log('Done.') + console.info('Done.') } } }] diff --git a/build/sw_plugin.js b/build/sw_plugin.js index a2c792b7d..d970c5c09 100644 --- a/build/sw_plugin.js +++ b/build/sw_plugin.js @@ -178,7 +178,7 @@ export const buildSwPlugin = ({ order: 'post', sequential: true, async handler () { - console.log('Building service worker for production') + console.info('Building service worker for production') await build(config) } } diff --git a/src/components/settings_modal/helpers/color_setting.js b/src/components/settings_modal/helpers/color_setting.js index c286b90fe..40fa038fe 100644 --- a/src/components/settings_modal/helpers/color_setting.js +++ b/src/components/settings_modal/helpers/color_setting.js @@ -10,7 +10,6 @@ export default { methods: { ...Setting.methods, getValue (e) { - console.log(e) return e } } diff --git a/src/components/settings_modal/tabs/appearance_tab.js b/src/components/settings_modal/tabs/appearance_tab.js index e4c3741a9..db37774aa 100644 --- a/src/components/settings_modal/tabs/appearance_tab.js +++ b/src/components/settings_modal/tabs/appearance_tab.js @@ -237,7 +237,6 @@ const AppearanceTab = { return !window.IntersectionObserver }, instanceWallpaper () { - console.log(this.$store.state.instance.background) this.$store.state.instance.background }, instanceWallpaperUsed () { diff --git a/src/components/settings_modal/tabs/clutter_tab.js b/src/components/settings_modal/tabs/clutter_tab.js index 8e12104fc..d4edf8f66 100644 --- a/src/components/settings_modal/tabs/clutter_tab.js +++ b/src/components/settings_modal/tabs/clutter_tab.js @@ -152,7 +152,6 @@ const ClutterTab = { }, purgeExpiredFilters () { this.muteFiltersExpired.forEach(([id]) => { - console.log(id) delete this.muteFiltersDraftObject[id] this.unsetPreference({ path: 'simple.muteFilters.' + id , value: null }) }) diff --git a/src/modules/adminSettings.js b/src/modules/adminSettings.js index 8fb500393..b4ce6a60a 100644 --- a/src/modules/adminSettings.js +++ b/src/modules/adminSettings.js @@ -123,7 +123,6 @@ const adminSettingsStorage = { const preserveTuples = path.find(x => x === ':rate_limit') set(config, path, convert(c.value, false, preserveTuples)) }) - console.log('CONFIG', JSON.parse(JSON.stringify(config))) // patching http adapter config to be easier to handle const adapter = config[':pleroma'][':http'][':adapter'] if (Array.isArray(adapter)) { @@ -151,7 +150,6 @@ const adminSettingsStorage = { const descriptions = {} backendDescriptions.forEach(d => convert(d, '', descriptions)) - console.log('DESCRIPTIONS', descriptions) commit('updateAdminDescriptions', { descriptions }) }, diff --git a/src/stores/interface.js b/src/stores/interface.js index 51ed42f65..5148daa4c 100644 --- a/src/stores/interface.js +++ b/src/stores/interface.js @@ -527,7 +527,6 @@ export const useInterfaceStore = defineStore('interface', { async applyTheme ( { recompile = false } = {} ) { - console.log('Apply') const { forceThemeRecompilation, themeDebug, diff --git a/test/unit/specs/components/draft.spec.js b/test/unit/specs/components/draft.spec.js index b00f447cd..276fe6fbe 100644 --- a/test/unit/specs/components/draft.spec.js +++ b/test/unit/specs/components/draft.spec.js @@ -145,7 +145,7 @@ describe('Draft saving', () => { const saveButton = wrapper.findByText('button', $t('post_status.close_confirm_save_button')) expect(saveButton).to.be.ok await saveButton.trigger('click') - console.log('clicked') + console.info('clicked') expect(wrapper.vm.$store.getters.draftCount).to.equal(1) await flushPromises() await waitForEvent(wrapper, 'can-close') diff --git a/test/unit/specs/lib/persisted_state.spec.js b/test/unit/specs/lib/persisted_state.spec.js index 95bbbc4b7..79956a698 100644 --- a/test/unit/specs/lib/persisted_state.spec.js +++ b/test/unit/specs/lib/persisted_state.spec.js @@ -10,11 +10,11 @@ const getMockStorage = () => { return { getItem: vi.fn(async key => { - console.log('get:', key, state[key]) + console.info('get:', key, state[key]) return state[key] }), setItem: vi.fn(async (key, value) => { - console.log('set:', key, value) + console.info('set:', key, value) state[key] = value }), _clear: () => {