Commit 5f2d7098 authored by Maria Iliadi's avatar 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
......@@ -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
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment