Skip to content

Commit

Permalink
Fix Percy for PeerIQ (#71)
Browse files Browse the repository at this point in the history
  • Loading branch information
Gaurav0 authored and fotinakis committed Sep 7, 2018
1 parent f2eb1f3 commit 1b7ed75
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.js
Expand Up @@ -43,7 +43,7 @@ function handlePercyFailure(error) {

// TODO: refactor to break down into a more modular design with less global state.
var percyClient;
var percyConfig;
var percyConfig = {};
var percyBuildPromise;
var buildResourceUploadPromises = [];
var snapshotResourceUploadPromises = [];
Expand Down Expand Up @@ -109,7 +109,7 @@ module.exports = {
percyConfig = baseConfig.percy || {};

// Store the Ember rootURL to be used later.
percyConfig.baseUrlPath = baseConfig.rootURL;
percyConfig.baseUrlPath = baseConfig.rootURL || '/';

// Make sure the percy config has a 'breakpoints' object.
percyConfig.breakpointsConfig = percyConfig.breakpointsConfig || {};
Expand Down

0 comments on commit 1b7ed75

Please sign in to comment.