remove todos

This commit is contained in:
Joao Moreno
2017-08-23 16:06:06 +02:00
parent 89ac4c9124
commit df2143f533
3 changed files with 0 additions and 5 deletions

View File

@@ -744,7 +744,6 @@ export class CommandCenter {
const message = await getCommitMessage();
if (!message) {
// TODO@joao: show modal dialog to confirm empty message commit
return false;
}
@@ -1287,7 +1286,6 @@ export class CommandCenter {
return result;
}
// TODO@Joao: possibly remove? do we really need to return resources?
private getSCMResource(uri?: Uri): Resource | undefined {
uri = uri ? uri : window.activeTextEditor && window.activeTextEditor.document.uri;
@@ -1322,7 +1320,6 @@ export class CommandCenter {
const groups = resources.reduce((result, resource) => {
const repository = this.model.getRepository(resource);
// TODO@Joao: what should happen?
if (!repository) {
console.warn('Could not find git repository for ', resource);
return result;

View File

@@ -411,7 +411,6 @@ export class Repository implements Disposable {
this.status();
}
// TODO@Joao reorganize this
provideOriginalResource(uri: Uri): Uri | undefined {
if (uri.scheme !== 'file') {
return;

View File

@@ -83,7 +83,6 @@ export function once(fn: (...args: any[]) => any): (...args: any[]) => any {
};
}
// TODO@Joao: replace with Object.assign
export function assign<T>(destination: T, ...sources: any[]): T {
for (const source of sources) {
Object.keys(source).forEach(key => destination[key] = source[key]);