Skip to content

Commit

Permalink
require sdk utils directly from @percy/agent
Browse files Browse the repository at this point in the history
  • Loading branch information
djones committed Apr 6, 2019
1 parent 685d5dd commit d26b561
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { agentJsFilename, isAgentRunning, postSnapshot } from '@percy/agent'
import fs from 'fs'
import { clientInfo } from './environment'
const { agentJsFilename, isAgentRunning, postSnapshot } = require('@percy/agent/dist/utils/sdk-utils')

declare var PercyAgent: any

Expand Down

0 comments on commit d26b561

Please sign in to comment.