message: refactor: use async / await in getCompatLayerCode
diff: @@ -6,12 +6,12 @@ const readFileAsync = promisify(fs.readFile);
  const TOKEN = "/*path_placeholder*/";
  -module.exports = jsHandlerPath => {
  - return readFileAsync(
  +module.exports = async jsHandlerPath => {
  + const template = await readFileAsync(
  path.join(__dirname, "./compatCode.template"),
  "utf-8"
  - ).then(template => {
  + );
  +
  const basename = path.basename(jsHandlerPath, ".js");
  return template.replace(TOKEN, `./${basename}.original.js`);
  - });
  };
  