File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -82,13 +82,13 @@ export class Editor {
82
82
vscode . window
83
83
. showInformationMessage (
84
84
[
85
- "The program on file differs from the one on the Source Academy servers." ,
86
- "Which program should we use? (Note that picking one will overwrite the other) " ,
87
- ] . join ( ' ' ) ,
88
- "Local" , "Server ")
85
+ "The local file differs from the version on the Source Academy servers." ,
86
+ "Discard the local file and use the one on the server? " ,
87
+ ] . join ( ' ' ) , { modal : true } ,
88
+ "Yes " )
89
89
. then ( async answer => {
90
90
// By default the code displayed is the local one
91
- if ( answer === "Server " ) {
91
+ if ( answer === "Yes " ) {
92
92
self . log ( 'EXTENSION: Saving program from server to file' )
93
93
await vscode . workspace . fs . writeFile (
94
94
uri ,
You can’t perform that action at this time.
0 commit comments