Skip to content

Commit

Permalink
remove underscore
Browse files Browse the repository at this point in the history
  • Loading branch information
dratwas committed Dec 5, 2019
1 parent 67d47ef commit c606fd7
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 22 deletions.
25 changes: 9 additions & 16 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ import path from 'path';
import serverConfigs from './serverConfigs';
import { ios12, android8 } from './caps';
import AppiumLocal from './appium-local';
import _ from 'underscore';

// Platform setup
const defaultPlatform = 'android';
Expand Down Expand Up @@ -73,7 +72,7 @@ const setupDriver = async () => {

let desiredCaps;
if ( isAndroid() ) {
desiredCaps = _.clone( android8 );
desiredCaps = { ...android8 };
if ( isLocalEnvironment() ) {
desiredCaps.app = path.resolve( localAndroidAppPath );
try {
Expand All @@ -92,7 +91,7 @@ const setupDriver = async () => {
desiredCaps.app = `sauce-storage:Gutenberg-${ safeBranchName }.apk`; // App should be preloaded to sauce storage, this can also be a URL
}
} else {
desiredCaps = _.clone( ios12 );
desiredCaps = { ...ios12 };
if ( isLocalEnvironment() ) {
desiredCaps.app = path.resolve( localIOSAppPath );
} else {
Expand Down
4 changes: 1 addition & 3 deletions packages/react-native-editor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,7 @@
"showdown": "^1.8.6",
"tannin": "^1.0.1",
"tinycolor2": "^1.4.1",
"traverse": "^0.6.6",
"turbo-combine-reducers": "^1.0.2",
"underscore": "^1.9.1"
"traverse": "^0.6.6"
},
"resolutions": {
"@react-native-community/cli": "^1.5.2"
Expand Down

0 comments on commit c606fd7

Please sign in to comment.