mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
Swap _.clone for Object.assign
This commit is contained in:
@@ -4,7 +4,6 @@
|
||||
import child_process from 'child_process'
|
||||
import environmentHelpers from '../src/environment-helpers'
|
||||
import os from 'os'
|
||||
import _ from 'underscore-plus'
|
||||
|
||||
describe('Environment handling', () => {
|
||||
let originalEnv
|
||||
@@ -15,7 +14,7 @@ describe('Environment handling', () => {
|
||||
delete process._originalEnv
|
||||
options = {
|
||||
platform: process.platform,
|
||||
env: _.clone(process.env)
|
||||
env: Object.assign({}, process.env)
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user