@@ -276,7 +275,7 @@ class SaveElevatedAction extends Action {
super('workbench.files.action.saveElevated',triedToMakeWriteable?nls.localize('overwriteElevated',"Overwrite as Admin..."):nls.localize('saveElevated',"Retry as Admin..."));
}
run():TPromise<any>{
run():Promise<any>{
if(!this.model.isDisposed()){
this.model.save({
writeElevated:true,
...
...
@@ -296,7 +295,7 @@ class OverwriteReadonlyAction extends Action {