From 17dc22fdb0c69f0a33e05c6c0e310e34b1da7435 Mon Sep 17 00:00:00 2001 From: Koen Kanters Date: Sat, 14 Aug 2021 09:59:31 +0200 Subject: [PATCH] Move source map install to index.js --- index.js | 1 + lib/util/yaml.ts | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 7e3818bf8..181ad20ad 100644 --- a/index.js +++ b/index.js @@ -5,6 +5,7 @@ const fs = require('fs'); const path = require('path'); const {exec} = require('child_process'); const rimraf = require('rimraf'); +require('source-map-support').install(); let controller; let stopping = false; diff --git a/lib/util/yaml.ts b/lib/util/yaml.ts index eb3319df8..d034b55d9 100644 --- a/lib/util/yaml.ts +++ b/lib/util/yaml.ts @@ -1,7 +1,6 @@ import yaml from 'js-yaml'; import fs from 'fs'; import equals from 'fast-deep-equal/es6'; -import 'source-map-support/register'; export function read(file: string): KeyValue { try {