Fix prettier existence checks and import order
Use fs.pathExists instead of checking resolved path strings which are always truthy. Fix import ordering in e2e-test runCommand.ts. Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com> Co-authored-by: Cursor <cursoragent@cursor.com> Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com> Co-authored-by: Cursor <cursoragent@cursor.com> Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com> Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -27,11 +27,11 @@ import { waitFor, print } from '../lib/helpers';
|
||||
import mysql from 'mysql2/promise';
|
||||
import pgtools from 'pgtools';
|
||||
|
||||
import { OptionValues } from 'commander';
|
||||
import { findOwnPaths, runOutput, run } from '@backstage/cli-common';
|
||||
|
||||
/* eslint-disable-next-line no-restricted-syntax */
|
||||
const ownPaths = findOwnPaths(__dirname);
|
||||
import { OptionValues } from 'commander';
|
||||
|
||||
const templatePackagePaths = [
|
||||
'packages/cli/templates/frontend-plugin/package.json.hbs',
|
||||
|
||||
Reference in New Issue
Block a user