diff --git a/check-license.js b/check-license.js index 87200ba..7131a96 100644 --- a/check-license.js +++ b/check-license.js @@ -14,7 +14,13 @@ const shouldFix = process.argv.includes("--fix"); console.log("Checking for missing licenses...\n"); const files = await globby( - ["./**/*.{ts,tsx,js}", "!**/node_modules/**", "!./examples/**"], + [ + "./**/*.{ts,tsx,js}", + "!**/node_modules/**", + "!./examples/**", + // ignore this file so it doesn't move the `#!/usr/bin/env node` line that needs to be at the top + "!packages/dappstore-cli/src/index.ts", + ], { gitignore: true, } diff --git a/packages/dappstore-cli/src/index.ts b/packages/dappstore-cli/src/index.ts index a3b324d..6700e64 100644 --- a/packages/dappstore-cli/src/index.ts +++ b/packages/dappstore-cli/src/index.ts @@ -1,7 +1,7 @@ +#!/usr/bin/env node // Copyright Tharsis Labs Ltd.(Evmos) // SPDX-License-Identifier:ENCL-1.0(https://github.com/evmos/dappstore-sdk/blob/main/LICENSE) -#!/usr/bin/env node import "./dev"; import "./init/init"; import { program } from "@commander-js/extra-typings";