File tree Expand file tree Collapse file tree 1 file changed +3
-9
lines changed
Expand file tree Collapse file tree 1 file changed +3
-9
lines changed Original file line number Diff line number Diff line change 66'use strict' ;
77
88import { env , MessageItem , Uri , window } from 'vscode' ;
9+ import { constants } from './constants' ;
910import { Version } from './version' ;
1011
1112export class Messages {
@@ -25,12 +26,7 @@ export class Messages {
2526
2627 if ( result != null ) {
2728 if ( result === actions [ 0 ] ) {
28- await env . openExternal (
29- Uri . parse (
30- 'https://marketplace.visualstudio.com/items?' +
31- 'itemName=appliedengdesign.vscode-gcode-syntax&ssr=false#review-details' ,
32- ) ,
33- ) ;
29+ await env . openExternal ( Uri . parse ( constants . urls . vsmpReviews ) ) ;
3430 } else if ( result === actions [ 1 ] ) {
3531 await env . openExternal ( Uri . parse ( 'https://github.com/sponsors/appliedengdesign' ) ) ;
3632 } else if ( result === actions [ 2 ] ) {
@@ -50,9 +46,7 @@ export class Messages {
5046
5147 if ( result != null ) {
5248 if ( result === actions [ 0 ] ) {
53- await env . openExternal (
54- Uri . parse ( 'https://github.com/appliedengdesign/vscode-gcode-syntax/blob/master/CHANGELOG.md' ) ,
55- ) ;
49+ await env . openExternal ( Uri . parse ( constants . urls . changeLog ) ) ;
5650 } else if ( result === actions [ 1 ] ) {
5751 await env . openExternal ( Uri . parse ( 'https://github.com/sponsors/appliedengdesign' ) ) ;
5852 }
You can’t perform that action at this time.
0 commit comments