Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nexpie-grafana-theme
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Registry
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kornkitt Poolsup
nexpie-grafana-theme
Commits
aee07949
Unverified
Commit
aee07949
authored
Jan 21, 2020
by
Ryan McKinley
Committed by
GitHub
Jan 21, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Toolkit: copyIfNonExistent order swapped (#21653)
parent
6553d775
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
packages/grafana-toolkit/src/cli/tasks/plugin.build.ts
+4
-4
No files found.
packages/grafana-toolkit/src/cli/tasks/plugin.build.ts
View file @
aee07949
...
...
@@ -40,13 +40,13 @@ export const prepare = useSpinner<void>('Preparing', async () => {
await
Promise
.
all
([
// Copy only if local tsconfig does not exist. Otherwise this will work, but have odd behavior
copyIfNonExistent
(
resolvePath
(
process
.
cwd
(),
'tsconfig
.json'
),
resolvePath
(
__dirname
,
'../../config/tsconfig.plugin.local
.json'
)
resolvePath
(
__dirname
,
'../../config/tsconfig.plugin.local
.json'
),
resolvePath
(
process
.
cwd
(),
'tsconfig
.json'
)
),
// Copy only if local prettierrc does not exist. Otherwise this will work, but have odd behavior
copyIfNonExistent
(
resolvePath
(
process
.
cwd
(),
'.prettier
rc.js'
),
resolvePath
(
__dirname
,
'../../config/prettier.plugin.
rc.js'
)
resolvePath
(
__dirname
,
'../../config/prettier.plugin.
rc.js'
),
resolvePath
(
process
.
cwd
(),
'.prettier
rc.js'
)
),
]);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment