Skip to content

Commit 024d2da

Browse files
Update npm deps (#1256)
* Update npm deps
1 parent 573db5c commit 024d2da

File tree

3 files changed

+101
-101
lines changed

3 files changed

+101
-101
lines changed

package-lock.json

Lines changed: 97 additions & 97 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -956,12 +956,12 @@
956956
},
957957
"devDependencies": {
958958
"@types/glob": "^7.2.0",
959-
"@types/lodash": "^4.14.186",
959+
"@types/lodash": "^4.14.188",
960960
"@types/mocha": "^9.1.1",
961-
"@types/node": "^14.18.32",
961+
"@types/node": "^14.18.33",
962962
"@types/uuid": "^8.3.4",
963963
"@types/vscode": "1.65.0",
964-
"@vscode/test-electron": "^2.1.5",
964+
"@vscode/test-electron": "^2.2.0",
965965
"mocha": "^9.2.2",
966966
"ts-loader": "^9.3.1",
967967
"tslint": "^6.1.3",

src/mainClassPicker.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ class MainClassPicker {
9696
};
9797
const isFromActiveEditor = (option: IMainClassOption): boolean => {
9898
const activeEditor: TextEditor | undefined = window.activeTextEditor;
99-
const currentActiveFile: string = _.get(activeEditor, "document.uri.fsPath");
99+
const currentActiveFile: string | undefined = _.get(activeEditor, "document.uri.fsPath");
100100
if (option.filePath && currentActiveFile) {
101101
return path.relative(option.filePath, currentActiveFile) === "";
102102
}

0 commit comments

Comments
 (0)