File tree Expand file tree Collapse file tree 2 files changed +1
-2
lines changed
test/unit/lib/configuration Expand file tree Collapse file tree 2 files changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ const parseConfigurationFile = async (configurationPath) => {
67
67
} catch ( error ) {
68
68
throw new ServerlessError (
69
69
`Cannot parse "${ path . basename ( configurationPath ) } ": Initialization error: ${
70
- error ? .stack ? error . stack : error
70
+ error && error . stack ? error . stack : error
71
71
} `,
72
72
'CONFIGURATION_INITIALIZATION_ERROR'
73
73
) ;
Original file line number Diff line number Diff line change @@ -7,7 +7,6 @@ const { expect } = chai;
7
7
8
8
const fsp = require ( 'fs' ) . promises ;
9
9
const fse = require ( 'fs-extra' ) ;
10
- const proxyquire = require ( 'proxyquire' ) ;
11
10
const readConfiguration = require ( '../../../../lib/configuration/read' ) ;
12
11
13
12
describe ( 'test/unit/lib/configuration/read.test.js' , ( ) => {
You can’t perform that action at this time.
0 commit comments