Skip to content

Commit

Permalink
fix(code-editor): remove current value from env var typings (#11990)
Browse files Browse the repository at this point in the history
  • Loading branch information
laurentlp committed Jul 15, 2022
1 parent 4277f5c commit e4c0fdd
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions modules/code-editor/src/backend/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -110,16 +110,12 @@ export const buildRestrictedProcessVars = () => {
declare var process: RestrictedProcess;
interface RestrictedProcess {
${root.map(x => {
return `/** Current value: ${x.value} */
${x.name}: ${x.type}
`
return `${x.name}: ${x.type}`
})}
env: {
${exposed.map(x => {
return `/** Current value: ${x.value} */
${x.name}: ${x.type}
`
return `${x.name}: ${x.type}`
})}
}
}`
Expand Down

0 comments on commit e4c0fdd

Please sign in to comment.