You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
429 B
22 lines
429 B
1 month ago
|
/**
|
||
|
* @author Toru Nagashima
|
||
|
* @copyright 2016 Toru Nagashima. All rights reserved.
|
||
|
* See LICENSE file in root directory for full license.
|
||
|
*/
|
||
|
'use strict'
|
||
|
|
||
|
const fs = require('fs')
|
||
|
const path = require('path')
|
||
|
|
||
|
try {
|
||
|
fs.symlinkSync(
|
||
|
path.resolve(__dirname, '../test/lib'),
|
||
|
path.resolve(__dirname, '../test-workspace/tasks/lib'),
|
||
|
'junction'
|
||
|
)
|
||
|
} catch (err) {
|
||
|
if (err.code !== 'EEXIST') {
|
||
|
throw err
|
||
|
}
|
||
|
}
|