Skip to content

Commit 94543d3

Browse files
committed
update script paths
1 parent 658ae64 commit 94543d3

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

scripts/seed-version.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -250,25 +250,25 @@ function newCV (context, icv, cb) {
250250
var sources = [{
251251
name: 'NodeJs',
252252
isTemplate: true,
253-
body: fs.readFileSync(__dirname + '/sourceDockerFiles/nodejs').toString()
253+
body: fs.readFileSync('./scripts/sourceDockerFiles/nodejs').toString()
254254
}, {
255255
name: 'Rails',
256256
isTemplate: true,
257-
body: fs.readFileSync(__dirname + '/sourceDockerFiles/rails').toString()
257+
body: fs.readFileSync('./scripts/sourceDockerFiles/rails').toString()
258258
}, {
259259
name: 'Ruby',
260260
isTemplate: true,
261-
body: fs.readFileSync(__dirname + '/sourceDockerFiles/ruby').toString()
261+
body: fs.readFileSync('./scripts/sourceDockerFiles/ruby').toString()
262262
}, {
263263
name: 'Python',
264264
isTemplate: true,
265-
body: fs.readFileSync(__dirname + '/sourceDockerFiles/python').toString()
265+
body: fs.readFileSync('./scripts/sourceDockerFiles/python').toString()
266266
}, {
267267
name: 'PostgreSQL',
268-
body: fs.readFileSync(__dirname + '/sourceDockerFiles/postgresSql').toString()
268+
body: fs.readFileSync('./scripts/sourceDockerFiles/postgresSql').toString()
269269
}, {
270270
name: 'MySQL',
271-
body: fs.readFileSync(__dirname + '/sourceDockerFiles/mysql').toString()
271+
body: fs.readFileSync('./scripts/sourceDockerFiles/mysql').toString()
272272
}, {
273273
name: 'MongoDB',
274274
body: '# Full list of versions available here: https://registry.hub.docker.com/_/mongo/tags/manage/\n'+

0 commit comments

Comments
 (0)