Skip to content

Commit fd93afc

Browse files
committed
lint fix
1 parent 06fb495 commit fd93afc

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/index.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -793,7 +793,9 @@ export function create(rawOptions: CreateOptions = {}): Service {
793793
// Install source map support and read from memory cache.
794794
installSourceMapSupport();
795795
function installSourceMapSupport() {
796-
(require('@cspotcode/source-map-support') as typeof _sourceMapSupport).install({
796+
const sourceMapSupport =
797+
require('@cspotcode/source-map-support') as typeof _sourceMapSupport;
798+
sourceMapSupport.install({
797799
environment: 'node',
798800
retrieveFile(pathOrUrl: string) {
799801
let path = pathOrUrl;

0 commit comments

Comments
 (0)