Skip to content

Commit

Permalink
removing console.log calls
Browse files Browse the repository at this point in the history
  • Loading branch information
Superschnizel committed Oct 19, 2023
1 parent f77d4b5 commit 1951190
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,13 @@ import {MoviegrabberSettings, DEFAULT_SETTINGS} from "./src/MoviegrabberSettings
import {MoviegrabberSearchModal} from "./src/MoviegrabberSearchModal"
import {MovieData, MovieSearch, MovieSearchItem, TEST_SEARCH} from "./src/MoviegrabberSearchObject"
import { MoviegrabberSelectionModal } from 'src/MoviegrabberSelectionModal';
import { existsSync } from 'fs';


export default class Moviegrabber extends Plugin {
settings: MoviegrabberSettings;

async onload() {
await this.loadSettings();


console.log(this.app.vault.adapter.exists('/fuskcnslgasdfalög/'));
// This adds a simple command that can be triggered anywhere
this.addCommand({
id: 'search-movie',
Expand Down Expand Up @@ -110,8 +106,6 @@ export default class Moviegrabber extends Plugin {

const data = await response.json;

console.log(data);

if (data.Response != "True") {
var n = new Notice(`Found no movies named ${movie.Title}!`)
n.noticeEl.addClass("notice_error");
Expand Down

0 comments on commit 1951190

Please sign in to comment.