mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-26 03:29:00 +01:00
don't freeze copied object
This commit is contained in:
@@ -39,13 +39,13 @@ export class ExtHostConsumerFileSystem {
|
||||
// use shortcut
|
||||
await that._proxy.$ensureActivation(uri.scheme);
|
||||
const stat = await provider.stat(uri);
|
||||
return Object.freeze(<vscode.FileStat>{
|
||||
return <vscode.FileStat>{
|
||||
type: stat.type,
|
||||
ctime: stat.ctime,
|
||||
mtime: stat.mtime,
|
||||
size: stat.size,
|
||||
permissions: stat.permissions
|
||||
});
|
||||
};
|
||||
} catch (err) {
|
||||
ExtHostConsumerFileSystem._handleError(err);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user