From 2c4d6baf753fba5000c75ed67d97c5c579e88f7a Mon Sep 17 00:00:00 2001 From: Yuchen Pei Date: Thu, 22 Sep 2022 15:39:21 +1000 Subject: move fname_data.json to common --- common/checks.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'common/checks.js') diff --git a/common/checks.js b/common/checks.js index e17fc02..503258d 100644 --- a/common/checks.js +++ b/common/checks.js @@ -24,7 +24,7 @@ const acorn = require('acorn'); const { licenses } = require('./license_definitions.js'); const { patternUtils } = require('./pattern_utils.js'); const { makeDebugLogger } = require('./common/debug.js'); -const fnameData = require('../fname_data.json').fname_data; +const fnameData = require('./fname_data.json').fname_data; const LIC_RE = /@licstartThefollowingistheentirelicensenoticefortheJavaScriptcodeinthis(?:page|file)(.*)?@licendTheaboveistheentirelicensenoticefortheJavaScriptcodeinthis(?:page|file)/mi; -- cgit v1.2.3