File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,6 @@ import { ReleaseNotes } from './releaseNotes';
11
11
import { registerWelcomeWalkthroughContribution , WELCOME_WALKTROUGH_KEY } from './welcomeWalktrough' ;
12
12
import { GitpodPortViewProvider } from './portViewProvider' ;
13
13
import { registerExtensionManagement } from './extensionManagement' ;
14
- const meta = require ( '../package.json' )
15
14
16
15
let gitpodContext : GitpodExtensionContext | undefined ;
17
16
export async function activate ( context : vscode . ExtensionContext ) {
@@ -20,7 +19,7 @@ export async function activate(context: vscode.ExtensionContext) {
20
19
return ;
21
20
}
22
21
23
- gitpodContext . logger . info ( `Gitpod Web ${ meta . commit || meta . version } ` ) ;
22
+ gitpodContext . logger . info ( `Gitpod Web ${ context . extension . packageJSON . commit || context . extension . packageJSON . version } ` ) ;
24
23
25
24
context . globalState . setKeysForSync ( [ WELCOME_WALKTROUGH_KEY , ReleaseNotes . RELEASE_NOTES_LAST_READ_KEY ] ) ;
26
25
You can’t perform that action at this time.
0 commit comments