From 646e864e6f59a0b349d68a2496efa9fe84743894 Mon Sep 17 00:00:00 2001 From: Doug Bird Date: Wed, 13 Dec 2017 13:36:06 -0800 Subject: [PATCH] fix CRs and filemode --- bin/helpers/generate-js-tld-enum.js | 12 ++++++------ bin/helpers/generate-tlds-csv.js | 13 +++++-------- 2 files changed, 11 insertions(+), 14 deletions(-) mode change 100644 => 100755 bin/helpers/generate-tlds-csv.js diff --git a/bin/helpers/generate-js-tld-enum.js b/bin/helpers/generate-js-tld-enum.js index f62717e..36c686e 100644 --- a/bin/helpers/generate-js-tld-enum.js +++ b/bin/helpers/generate-js-tld-enum.js @@ -1,7 +1,7 @@ -#!/usr/bin/env node - -console.log("generates the 'tld-enum.js' node source file from the 'tlds.csv' csv file"); -console.log("---this script is currently a 'to-do' placeholder!---"); -console.error("terminating... the development for the 'JSON' format generator has not yet been completed"); - +#!/usr/bin/env node + +console.log("generates the 'tld-enum.js' node source file from the 'tlds.csv' csv file"); +console.log("---this script is currently a 'to-do' placeholder!---"); +console.error("terminating... the development for the 'JSON' format generator has not yet been completed"); + process.exit(1); \ No newline at end of file diff --git a/bin/helpers/generate-tlds-csv.js b/bin/helpers/generate-tlds-csv.js old mode 100644 new mode 100755 index 0426e7d..a4ea022 --- a/bin/helpers/generate-tlds-csv.js +++ b/bin/helpers/generate-tlds-csv.js @@ -1,9 +1,6 @@ -#!/usr/bin/env node - -console.log("generates the canonical 'tlds.csv' csv file"); -console.log("downloads the 'http://data.iana.org/TLD/tlds-alpha-by-domain.txt' file and cross references it with https://www.iana.org/domains/root/db to re-generate the 'tlds.csv' csv file"); - -console.log("---this script is currently a 'to-do' placeholder!---"); -console.error("terminating... the development for the canonical 'tlds.csv' generator has not yet been completed"); - +#!/usr/bin/env node + +console.log("generates the canonical 'tlds.csv' csv file"); +console.log("downloads the 'http://data.iana.org/TLD/tlds-alpha-by-domain.txt' file and cross references it with https://www.iana.org/domains/root/db to re-generate the 'tlds.csv' csv file"); + process.exit(1); \ No newline at end of file