UNPKG
gia-cli
Version:
latest (7.1.10)
7.1.10
7.1.9
7.1.8
7.1.7
7.1.6
7.1.5
7.1.4
7.1.3
7.1.2
7.1.1
7.1.0
7.0.1
7.0.0
6.4.1
6.4.0
6.3.4
6.3.3
6.3.2
6.3.1
6.3.0
6.2.0
6.1.0
6.0.9
6.0.8
6.0.7
6.0.6
6.0.5
6.0.4
6.0.3
6.0.2
6.0.1
6.0.0
5.0.0
4.6.0
4.5.0
4.4.0
4.3.0
4.2.0
4.1.0
4.0.1
3.6.1
3.6.0
3.5.0
3.4.0
3.3.0
3.2.2
3.2.1
3.2.0
3.1.0
3.0.1
3.0.0
2.0.1
2.0.0
1.0.1
1.0.0
0.1.1
Guardian US Interactive CLI tool
gia-cli
/
templates
/
atom
/
postinstall.js
11 lines
(9 loc)
•
257 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
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
(); }); }); }