UNPKG

gia-cli

Version:

Guardian US Interactive CLI tool

11 lines (9 loc) 257 B
const fs = require( 'fs' ); const path = require( 'path' ); module.exports = function ( dir ) { return new Promise( ( fulfil, reject ) => { fs.chmod( path.join( dir, 'scripts/deploy.sh' ), 0o777, err => { err ? reject( err ) : fulfil(); }); }); }