set_permission.js
const fs = require('fs-extra')const path = require('path')const os = require('os') Identical blocks of code found in 2 locations. Consider refactoring.const grib2jsonCommand = process.env.GRIB2JSON || path.join(__dirname, 'bin', os.platform() === 'win32' ? 'grib2json.cmd' : 'grib2json') // Set command executablefs.chmodSync(grib2jsonCommand, '754')