Closed satyarohith closed 1 month ago
If a file starts with a shebang, the license should be inserted after the shebang to support execution scripts.
For file below, when we set the inject option to true:
#!/bin/bash echo "hello world"
we get the following:
# license #!/bin/bash echo "hello world"
but the desired fix is:
#!/bin/bash # license echo "hello world"
If a file starts with a shebang, the license should be inserted after the shebang to support execution scripts.
For file below, when we set the inject option to true:
we get the following:
but the desired fix is: