We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 25276f5 commit 9084bd0Copy full SHA for 9084bd0
adminforth/commands/createApp/templates/index.ts.hbs
@@ -57,10 +57,7 @@ export const admin = new AdminForth({
57
],
58
});
59
60
-const currentFilePath = fileURLToPath(import.meta.url);
61
-const executedFilePath = path.resolve(process.argv[1]);
62
-
63
-if (currentFilePath === executedFilePath) {
+if (fileURLToPath(import.meta.url) === path.resolve(process.argv[1])) {
64
const app = express();
65
app.use(express.json());
66
0 commit comments