Skip to content

Commit

Permalink
ignore cli entrypoint
Browse files Browse the repository at this point in the history
  • Loading branch information
julia-script committed Feb 21, 2024
1 parent ef40828 commit e30c185
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
8 changes: 7 additions & 1 deletion check-license.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
}
Expand Down
2 changes: 1 addition & 1 deletion packages/dappstore-cli/src/index.ts
Original file line number Diff line number Diff line change
@@ -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";
Expand Down

0 comments on commit e30c185

Please sign in to comment.