Pārlūkot izejas kodu

Fixes webview import issues

main
Eric Amodio pirms 4 gadiem
vecāks
revīzija
0e9fde9386
4 mainītis faili ar 12 papildinājumiem un 11 dzēšanām
  1. +7
    -1
      src/config.ts
  2. +3
    -8
      src/logger.ts
  3. +1
    -1
      src/vsls/protocol.ts
  4. +1
    -1
      src/webviews/apps/rebase/rebase.ts

+ 7
- 1
src/config.ts Parādīt failu

@ -1,5 +1,11 @@
'use strict';
import { TraceLevel } from './logger';
export enum TraceLevel {
Silent = 'silent',
Errors = 'errors',
Verbose = 'verbose',
Debug = 'debug',
}
export interface Config {
autolinks: AutolinkReference[] | null;

+ 3
- 8
src/logger.ts Parādīt failu

@ -1,19 +1,14 @@
'use strict';
import { ExtensionContext, ExtensionMode, OutputChannel, Uri, window } from 'vscode';
import { TraceLevel } from './configuration';
import { extensionOutputChannelName } from './constants';
import { getCorrelationContext, getNextCorrelationId } from './system';
const emptyStr = '';
export enum TraceLevel {
Silent = 'silent',
Errors = 'errors',
Verbose = 'verbose',
Debug = 'debug',
}
const ConsolePrefix = `[${extensionOutputChannelName}]`;
export { TraceLevel } from './configuration';
export interface LogCorrelationContext {
readonly correlationId?: number;
readonly prefix: string;

+ 1
- 1
src/vsls/protocol.ts Parādīt failu

@ -1,5 +1,5 @@
'use strict';
import { GitCommandOptions } from '../git/git';
import type { GitCommandOptions } from '../git/git';
// eslint-disable-next-line @typescript-eslint/no-unused-vars
export class RequestType<Request, Response> {

+ 1
- 1
src/webviews/apps/rebase/rebase.ts Parādīt failu

@ -89,7 +89,7 @@ class RebaseEditor extends App {
}
const ref = e.item.dataset.ref;
if (ref) {
if (ref != null) {
console.log(ref, e.newIndex, e.oldIndex);
this.moveEntry(ref, e.newIndex, false);

Notiek ielāde…
Atcelt
Saglabāt