We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 195d241 + 6dcc11e commit ab88742Copy full SHA for ab88742
src/Settings.ts
@@ -2,9 +2,13 @@ import { ReleaseType } from "semver"
2
import { workspace } from "vscode"
3
4
export const getCacheLifetime = () => {
5
- return workspace
6
- .getConfiguration()
7
- .get<number>("npm-outdated.cacheLifetime") as number
+ return (
+ Number(
+ workspace.getConfiguration().get<number>("npm-outdated.cacheLifetime")
8
+ ) *
9
+ 60 *
10
+ 1000
11
+ )
12
}
13
14
export const getLevel = () => {
0 commit comments