cleanup console logs (changed actual proper logs to .info())
This commit is contained in:
parent
7d88140bb4
commit
c71a36de30
9 changed files with 6 additions and 12 deletions
|
|
@ -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.')
|
||||
}
|
||||
}
|
||||
}]
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -10,7 +10,6 @@ export default {
|
|||
methods: {
|
||||
...Setting.methods,
|
||||
getValue (e) {
|
||||
console.log(e)
|
||||
return e
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -237,7 +237,6 @@ const AppearanceTab = {
|
|||
return !window.IntersectionObserver
|
||||
},
|
||||
instanceWallpaper () {
|
||||
console.log(this.$store.state.instance.background)
|
||||
this.$store.state.instance.background
|
||||
},
|
||||
instanceWallpaperUsed () {
|
||||
|
|
|
|||
|
|
@ -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 })
|
||||
})
|
||||
|
|
|
|||
|
|
@ -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 })
|
||||
},
|
||||
|
||||
|
|
|
|||
|
|
@ -527,7 +527,6 @@ export const useInterfaceStore = defineStore('interface', {
|
|||
async applyTheme (
|
||||
{ recompile = false } = {}
|
||||
) {
|
||||
console.log('Apply')
|
||||
const {
|
||||
forceThemeRecompilation,
|
||||
themeDebug,
|
||||
|
|
|
|||
|
|
@ -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')
|
||||
|
|
|
|||
|
|
@ -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: () => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue