mirror of
https://github.com/h-sphere/sql-seal.git
synced 2026-07-22 10:10:28 +00:00
chore: remove console logs
This commit is contained in:
parent
6fbcbd2157
commit
182ee4bc8b
4 changed files with 0 additions and 8 deletions
|
|
@ -131,12 +131,8 @@ export class SealFileSync {
|
|||
}
|
||||
|
||||
async getFileTags(file: TFile) {
|
||||
console.log('file', file.basename)
|
||||
console.log(this.app.metadataCache.getFileCache(file))
|
||||
const t = ((this.app.metadataCache.getFileCache(file)?.frontmatter?.tags || []) as string[])
|
||||
// .map(t => t.tag)
|
||||
.map(t => ({ tag: t, fileId: file.path }))
|
||||
console.log('FILE TAGS', t)
|
||||
return t
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -10,7 +10,6 @@ export class FilesManager {
|
|||
constructor(private vault: Vault) {
|
||||
this.vault.on('modify', async (file) => {
|
||||
if (this.files.has(file.path)) {
|
||||
console.log(`Modified ${file.path}`)
|
||||
this.inputFiles.get(file.path)!(await this.loadFile(file.path))
|
||||
}
|
||||
})
|
||||
|
|
|
|||
|
|
@ -21,10 +21,8 @@ export class TablesManager {
|
|||
if (this.tableLinks.has(tableName)) {
|
||||
const { fileName: prevFileName, unlink } = this.tableLinks.get(tableName)!
|
||||
if (prevFileName === fileName) {
|
||||
console.log('Same filename', fileName)
|
||||
return
|
||||
}
|
||||
console.log('Different Filename')
|
||||
unlink()
|
||||
this.tableLinks.delete(tableName)
|
||||
}
|
||||
|
|
|
|||
|
|
@ -9,7 +9,6 @@ describe('Data Transformer', () => {
|
|||
s(`a,b,c
|
||||
1,2,3
|
||||
4,5,6`)
|
||||
console.log(dt.value)
|
||||
expect(dt.value.data).toHaveLength(2)
|
||||
expect(dt.value.data[0]).toEqual({
|
||||
a: 1,
|
||||
|
|
|
|||
Loading…
Reference in a new issue