Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ESSIF-Lab
eSSIF-Lab framework
Commits
5f2d7098
Commit
5f2d7098
authored
Oct 06, 2020
by
Maria Iliadi
Browse files
Add newline before&after the import statement
#16
parent
f26146af
Pipeline
#15304
passed with stage
in 2 minutes and 30 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
plugins/terminology-parser/index.js
View file @
5f2d7098
...
...
@@ -20,7 +20,7 @@ function getImportStatement(filePath) {
var
absoluteTermPath
=
path
.
resolve
(
'
./src/components
'
);
// Find the relative path between the file to be modified and the Term plugin
var
relativePath
=
path
.
relative
(
filePath
,
absoluteTermPath
);
var
importTerm
=
`\n\nimport { Term } from '
${
relativePath
}
'`
;
var
importTerm
=
`\n\nimport { Term } from '
${
relativePath
}
'
\n
`
;
return
importTerm
}
...
...
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