Skip to content

Commit 9215e17

Browse files
committed
ugh, why is prettier not on this repo
1 parent 4b6f0b3 commit 9215e17

File tree

1 file changed

+14
-4
lines changed

1 file changed

+14
-4
lines changed

index.js

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ module.exports = {
2424
let name = stringUtil.dasherize(rawName);
2525
let namespace = stringUtil.classify(rawName);
2626

27-
let hasOptions = !options.welcome || options.packageManager || options.ciProvider;
27+
let hasOptions =
28+
!options.welcome || options.packageManager || options.ciProvider;
2829
let blueprintOptions = '';
2930
if (hasOptions) {
3031
let indent = `\n `;
@@ -66,7 +67,8 @@ module.exports = {
6667
blueprintVersion: require('./package').version,
6768
yarn: options.packageManager === 'yarn',
6869
pnpm: options.packageManager === 'pnpm',
69-
npm: options.packageManager !== 'yarn' && options.packageManager !== 'pnpm',
70+
npm:
71+
options.packageManager !== 'yarn' && options.packageManager !== 'pnpm',
7072
invokeScriptPrefix,
7173
execBinPrefix,
7274
welcome: options.welcome,
@@ -77,6 +79,7 @@ module.exports = {
7779
ciProvider: options.ciProvider,
7880
typescript: options.typescript,
7981
packageManager: options.packageManager ?? 'npm',
82+
noCompat: options.noCompat ?? false,
8083
};
8184
},
8285

@@ -93,7 +96,9 @@ module.exports = {
9396

9497
if (!options.typescript) {
9598
files = files.filter(
96-
(file) => !['tsconfig.json', 'app/config/', 'types/'].includes(file) && !file.endsWith('.d.ts')
99+
(file) =>
100+
!['tsconfig.json', 'app/config/', 'types/'].includes(file) &&
101+
!file.endsWith('.d.ts')
97102
);
98103
}
99104

@@ -110,7 +115,12 @@ module.exports = {
110115
beforeInstall() {
111116
const prependEmoji = require('./lib/prepend-emoji');
112117

113-
this.ui.writeLine(prependEmoji('✨', `Creating a new Ember app in ${chalk.yellow(process.cwd())}:`));
118+
this.ui.writeLine(
119+
prependEmoji(
120+
'✨',
121+
`Creating a new Ember app in ${chalk.yellow(process.cwd())}:`
122+
)
123+
);
114124
},
115125

116126
/**

0 commit comments

Comments
 (0)