Skip to content

Commit 284ce0b

Browse files
committed
fix: use two-param version for pkg to identify assets
1 parent 1d0506d commit 284ce0b

File tree

2 files changed

+4
-8
lines changed

2 files changed

+4
-8
lines changed

src/config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,11 +68,11 @@ function configure(repo) {
6868
// then fun stuff
6969
const cfgs = [
7070
[
71-
path.join(__dirname, '..', 'config', 'prettier.config.js'),
71+
path.join(__dirname, '../config/prettier.config.js'),
7272
path.join(repo, '.prettierrc.js'),
7373
],
7474
[
75-
path.join(__dirname, '..', 'config', 'browserslist.config.rc'),
75+
path.join(__dirname, '../config/browserslist.config.rc'),
7676
path.join(repo, '.browserslistrc'),
7777
],
7878
].map(cfg => copy(cfg[0], cfg[1]))

src/prettier.js

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,8 @@ const log = require('@dhis2/cli-helpers-engine').reporter
66
const { readFile, writeFile } = require('./files.js')
77

88
// Prettier setup
9-
const prettierConfig = path.join(
10-
__dirname,
11-
'..',
12-
'config',
13-
'prettier.config.js'
14-
)
9+
const prettierConfig = path.join(__dirname, '../config/prettier.config.js')
10+
1511
log.debug('Prettier configuration file', prettierConfig)
1612

1713
exports.check_fmt = function check_prettier(files) {

0 commit comments

Comments
 (0)