Browse Source

Add note

pull/15/head
10sr 8 years ago
parent
commit
a2af093626
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      micro/init.lua

+ 1
- 0
micro/init.lua View File

@@ -1,6 +1,7 @@
-- ec = require("editorconfig_core")

local function getProperties(fullpath)
-- TODO: Avoid command injection vulnerability
local file = io.popen("editorconfig '" .. fullpath .. "'", "r")
local output = file:read("*all")
file:close()


Loading…
Cancel
Save