From 8ee889684b274dc42ca10e2befb3b4c2f9a64363 Mon Sep 17 00:00:00 2001 From: Yuichiro Tsuchiya Date: Fri, 31 Jan 2020 06:12:02 +0900 Subject: [PATCH] [@types/lodash] Fix development scripts in types/lodash/scripts (#41856) * Move shebang to the first line and add permission to execute the file * Fix types/lodash/scripts/generate-modules.ts to generate files same to the commited ones --- types/lodash/scripts/generate-all.sh | 2 +- types/lodash/scripts/generate-modules.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) mode change 100644 => 100755 types/lodash/scripts/generate-all.sh diff --git a/types/lodash/scripts/generate-all.sh b/types/lodash/scripts/generate-all.sh old mode 100644 new mode 100755 index a07bf37932..0d4370e876 --- a/types/lodash/scripts/generate-all.sh +++ b/types/lodash/scripts/generate-all.sh @@ -1,6 +1,6 @@ +#!/usr/bin/env bash # If some one want to update lodash modules, you must run this script under the same dir where it lives. # Or you can run them(generate-modules.ts) separately by hand -#!/usr/bin/env bash npm i ts-node -g diff --git a/types/lodash/scripts/generate-modules.ts b/types/lodash/scripts/generate-modules.ts index 4e8cf03fcf..5ebc87e1e5 100644 --- a/types/lodash/scripts/generate-modules.ts +++ b/types/lodash/scripts/generate-modules.ts @@ -53,7 +53,7 @@ async function globalDefinitionText(moduleName: string): Promise { return ` // Type definitions for ${fullName} ${majorMinor} -// Project: http://lodash.com/ +// Project: https://lodash.com // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.8