We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 435e6f6 commit 8e628d5Copy full SHA for 8e628d5
src/node/constants.ts
@@ -20,7 +20,7 @@ export const rootPath = path.resolve(__dirname, "../..")
20
export const vsRootPath = path.join(rootPath, "vendor/modules/code-oss-dev")
21
const PACKAGE_JSON = "package.json"
22
const pkg = getPackageJson(`${rootPath}/${PACKAGE_JSON}`)
23
-const codePkg = getPackageJson(`${vsRootPath}/${PACKAGE_JSON}`) || {version: "0.0.0"}
+const codePkg = getPackageJson(`${vsRootPath}/${PACKAGE_JSON}`) || { version: "0.0.0" }
24
export const pkgName = pkg.name || "code-server"
25
export const version = pkg.version || "development"
26
export const commit = pkg.commit || "development"
0 commit comments