diff options
author | Yuchen Pei <hi@ypei.me> | 2022-09-22 15:39:21 +1000 |
---|---|---|
committer | Yuchen Pei <hi@ypei.me> | 2022-09-22 15:40:56 +1000 |
commit | 2c4d6baf753fba5000c75ed67d97c5c579e88f7a (patch) | |
tree | e7f63bf62e836e840ea71944243765299cf05f8e | |
parent | d78d3dae30a4ac662ac5d35f1e7f245ce5825f40 (diff) |
move fname_data.json to common
-rw-r--r-- | common/checks.js | 2 | ||||
-rw-r--r-- | common/fname_data.json (renamed from fname_data.json) | 0 |
2 files changed, 1 insertions, 1 deletions
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; diff --git a/fname_data.json b/common/fname_data.json index 5606007..5606007 100644 --- a/fname_data.json +++ b/common/fname_data.json |