feature: tag source:vscode sur events open/save + .npmrc fund/audit
This commit is contained in:
+2
-2
@@ -36,7 +36,7 @@ export function activate(context: vscode.ExtensionContext) {
|
||||
console.log('Opened file:', filePath);
|
||||
|
||||
// vscode.window.showInformationMessage(`Opened file: ${filePath}`);
|
||||
await makeHttpRequest({ event: 'open', project: extractProjectName(filePath) });
|
||||
await makeHttpRequest({ event: 'open', project: extractProjectName(filePath), source: 'vscode' });
|
||||
}
|
||||
});
|
||||
|
||||
@@ -46,7 +46,7 @@ export function activate(context: vscode.ExtensionContext) {
|
||||
console.log('Saved file:', filePath);
|
||||
|
||||
// vscode.window.showInformationMessage(`Saved file: ${filePath}`);
|
||||
await makeHttpRequest({ event: 'save', project: extractProjectName(filePath) });
|
||||
await makeHttpRequest({ event: 'save', project: extractProjectName(filePath), source: 'vscode' });
|
||||
});
|
||||
|
||||
// detecte un focus / blur de la fenetre vscode
|
||||
|
||||
Reference in New Issue
Block a user