Removes unnecessary whitespace in license

This commit is contained in:
Simon Schödler 2023-06-10 17:18:49 +02:00
parent 005021e4fb
commit 1a2e455f7e
16 changed files with 19 additions and 22 deletions

View file

@ -15,6 +15,7 @@ import { CrossbowLoggingService } from './loggingService';
import { CrossbowSettingsService } from './settingsService';
type CacheEntryLookup = { [key: string]: CacheEntry };
export type SourceCacheEntryLookupMap = { [key: TFile['path']]: CacheEntryLookup };
export interface CacheEntry {

View file

@ -13,10 +13,10 @@
import { CrossbowSettingsService } from './settingsService';
export class CrossbowLoggingService {
public constructor(private readonly settingsService: CrossbowSettingsService) {}
private static LOGGER_PREFIX = '🏹: ';
public constructor(private readonly settingsService: CrossbowSettingsService) {}
public debugLog(message: string): void {
this.settingsService.getSettings().useLogging && console.log(CrossbowLoggingService.LOGGER_PREFIX + message);
}

View file

@ -31,8 +31,6 @@ const MARKDOWN_CODE_BLOCK_REGEX = /```[\s\S]+?```/g;
// const MARKDOWN_STRIKETROUGH_REGEX = /~(.*?)~/g;
export class CrossbowTokenizationService {
public constructor() {}
private readonly SKIP_REGEX = /\s/;
public getWordLookupFromEditor(targetEditor: Editor): WordLookup {

View file

@ -11,8 +11,6 @@
// GNU General Public License for more details.
export class CrossbowUtilsService {
constructor() {}
// folders names (or paths, separated by "/"). (Whitepaces around commas will be trimmed)
public toArrayOfPaths(pathArrayLike: string): string[] {
return pathArrayLike