From 840391f541f442e09260e7a2972a6953a7857571 Mon Sep 17 00:00:00 2001 From: Alexandre Bodin Date: Tue, 16 Aug 2022 11:55:39 +0200 Subject: [PATCH] Fix linter --- packages/generators/generators/lib/plops/api.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/generators/generators/lib/plops/api.js b/packages/generators/generators/lib/plops/api.js index b77618c939e..b929240fcc9 100644 --- a/packages/generators/generators/lib/plops/api.js +++ b/packages/generators/generators/lib/plops/api.js @@ -47,7 +47,8 @@ module.exports = (plop) => { }, ], actions(answers) { - const filePath = answers.isPluginApi && answers.plugin ? 'plugins/{{ plugin }}' : 'api/{{ id }}'; + const filePath = + answers.isPluginApi && answers.plugin ? 'plugins/{{ plugin }}' : 'api/{{ id }}'; const currentDir = process.cwd(); const language = tsUtils.isUsingTypeScriptSync(currentDir) ? 'ts' : 'js';